@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

:root{
   --base-color: #D9D9D9;
   --base-text: #1D2733;
   --base-text-h:#c9c9c9;
   --secondary-color: #EEEEEE;
   --third-color: #f5f5f5;
   --fourth-color: #dddada;

}

.darkmode{
    --base-color: #1D2733;
   --base-text: #EEEEEE;
   --base-text-h:#263f5c;
   --secondary-color: #23374e;
   --third-color: #203247;
   --fourth-color: #33547a;
}

html{
    background-color: var(--base-color);
    font-family: 'Instrument Sans', 'sans-serif';
    font-size: 18px;
}


.body{
    font-family: 'Instrument Sans', 'sans-serif';
    height: 100%;
    margin: 0;
    padding: 0;
    
}


main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    
}
#btn-darkmode{
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000; 
    background-color: var(--third-color);
    color: var(--base-text);
    border: none;
    padding: 5px 8px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.idea-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width:1000px;
    max-width: 1500px;
    gap: 0.5rem;
    
}
.idea-entry-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    min-width: 1000px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    
}



.tn-title{
    font-family: 'Instrument Sans', 'sans-serif';
    text-align: center;
    color: var(--base-text);
    margin: 0;
    font-size: 2.5rem;
}
.tn-subtitle{
    font-family: 'Instrument Sans', 'sans-serif';
    text-align: center;
    color: var(--base-text);
}
.ideaentry-inputs{
    display: flex;
    gap: 0.1rem;
}
.ideaentry-inputs input{
    height: 38px;
    font-size: 1rem;
}
#ideadesc-entry{
    width: 700px;
}



/*del button*/
.ideaentry-delete{
    background-color: #575E56;
    border: none;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;   
    width: 56px;
    height: 42px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.ideaentry-delete svg{
    width: 28px;
    width: 28px;
    pointer-events: none;
}
.ideaentry-delete:hover{
    background-color: #616461;
}
.ideaentry-delete:active{
    transform: scale(0.95);
    box-shadow: 0 2px #666 inset;
}
/*add button*/
.ideaentry-add{
    background-color: #82DD76;
    border: none;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;   
    width: 56px;
    height: 42px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.ideaentry-add svg{
    width: 28px;
    width: 28px;
    pointer-events: none;
}
.ideaentry-add:hover{
    background-color: #5ba853;
}
.ideaentry-add:active{
    transform: scale(0.95);
    box-shadow: 0 2px #5ba853 inset;
}

#idea-subcontainer{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;     /* removes default margin */
    padding: 0;    /* removes default padding */
    list-style: none; 
    width: 100%;
}
.idea-item{
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    background-color: var(--third-color);
    font-weight: 600;
    color: var(--base-text);
    list-style: none;
    padding: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
    align-items: center;
    border-radius: 10px;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.idea-item:hover{
    background-color: var(--base-text-h);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.idea-li-left{
    display: flex;
    gap: 1rem;
    align-items: center;
    
}
.idea-li-left-desc{
    max-width: 600px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.idea-li-left-name {
    max-width: 250px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


.idea-li-right{
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-select-notstarted{
    background-color: #C1C4C8;
    color: #585454;
    border-radius: 15px;
    border-color: #424242;
    font-size: 1rem;
}
.status-select-interested{
    background-color: #F0E8AC;
    color: #D08700;
    border-radius: 15px;
    border-color: #ffbd43;
    font-size: 1rem;
}
.status-select-developing{
    background-color: #A7CBDD;
    color: #0084FF;
    border-radius: 15px;
    border-color: #2897ff;
    font-size: 1rem;
}
.status-select-completed{
    background-color: #A0E288;
    color: #0A8812;
    border-radius: 15px;
    border-color: #36aa00;
    font-size: 1rem;
}

.idea-delete-button{
    text-decoration: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--base-text);
    padding: 0;
}

/*----------------------------------------------------------------*/
/*idea page detailed view*/
.detail-container-outer{
    display: flex;
    gap: 680px;
    max-height: 40px;
    align-items: center;
    padding-bottom: 0.5rem;
}
#back-button{
    background: none;
    border: none;
    display: flex;
    align-items: center;
    font-weight: 600;
}
#back-button svg{
    fill: var(--base-text);
    height: 32px;
    width: 32px;
}
#back-button:hover{
    cursor: pointer;
}
#back-button svg:hover{
    fill: #424649;
}

.detail-container{
    background-color: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    padding: 1.5rem;
    font-size: 1.1rem;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 800px;
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}
.detail-subtitle{
    color: var(--base-text);
    font-size: 1.5rem;
}
.row1{
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    color: var(--base-text);
    font-size: 1.1rem;
}
#detailed-desc{
    font-family: 'Instrument Sans', 'sans-serif';
    background-color: var(--third-color);
    border-width: 1px;
    border-radius: 5px;
    font-size: 1.1rem;
}
.row2{
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    color: var(--base-text);
    font-size: 1.1rem;
}
.row3{
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    color: var(--base-text);
    font-size: 1.1rem;
}.row4{
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    color: var(--base-text);
    font-size: 1.1rem;
}
#btn-edit{
    background-color: var(--fourth-color);
    border: none;
    min-height: 50px;
    min-width: 56px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
#btn-edit svg{
    fill: var(--base-text);
    height: 32px;
    width: 32px;
}
#btn-generate-prompt{
    display: flex;
    align-items: center;
    color: var(--base-text);
    background-color: var(--fourth-color);
    border:none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 56px;
    min-height: 50px;
    font-size: 1.05rem;
}
#btn-generate-prompt :hover{
    cursor: pointer;
    
}
#btn-generate-prompt svg{
    fill: var(--base-text);
    height: 28px;
    width: 28px;
}
#btn-save{
    display: none;
    background-color: var(--fourth-color);
    border: none;
    border-radius: 5px;
    color: var(--base-text);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    min-width: 56px;
    min-height: 48px;

}
.detailed-type-project{
    display: flex;
    flex-direction: column;
    align-items:end;
}

#detailed-type-select{
    display: none;
    background-color: var(--third-color);
    border-width: 1px;
    border-radius: 5px;
    font-size: 0.9rem;
}
#detailed-type{
    margin: 0;
}
.detailed-tech-stack{
    display: flex;
    flex-direction: column;
}
.detailed-ts-container{
    display: flex;
    align-items: center;
}
#add-ts{
    display: none;
    border: none;
    padding: 0;
    background-color: var(--secondary-color);
}
#add-ts svg{
    fill: var(--base-text);
    height: 32px;
    width: 32px;
}
#add-ts-select{
    display: none;
    background-color: var(--secondary-color);
    color: var(--base-text);
    font-size: 1rem;
}
#detailed-ts{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    max-width: 350px;
    gap: 0.3rem;
    padding: 0;
    margin-top: 2px;
}
.ts-element{
    display: flex;
    gap: 0.2rem;
    background-color: var(--base-text);
    color: var(--base-color);
    font-weight: 600px;
    font-size: 16px;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 15px;
}
.ts-element p{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}
.ts-element-delete{
    background: none;
    border: none;
    color: var(--base-color);
    padding: 0;
}

.detailed-duration{
    display: flex;
    flex-direction: column;
    align-items: end;
}
#duration-input{
    max-width: 3rem;
    background-color: var(--third-color);
    border-width: 1px;
    border-radius: 5px;
    font-size: 1rem;
}
#detailed-dur{
    margin: 0;
    max-width: 5rem;
    
}
#p-generate-prompt{
    
    flex-wrap: wrap;
    max-width: 750px;
}