*{
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', sans-serif;
    box-sizing: border-box;
}
.container{
    width: 100%;
    min-height: 100vh;
    background: #FDF6EB;
    display: flex;
    align-items: stretch; 
    gap: 30px; 
    padding: 20px;
}
.container h3{
    display: flex;
    align-items: center;
    font-size:20px;
    
}
.inlky {
    border-right: 1px solid black; 
    padding-right: 20px; 
    flex-direction: column;
    justify-content: space-between;
}
.inlky button{
    border: none;
    background: none;
    cursor: pointer;
    display: flex;

}
.inlky button img{
    width: 35px;
    padding-top: 60px;
    margin-left: 5px;

}
.notes-section {
    margin-top: 14px;  
    font-size: 30px;   
   
}
.notes-section h2 {
    text-align: left; 
    margin: 0;       
}

.top-section {
    flex: 1;
    display: flex;
    flex-direction: column; /* تحت بعض */
    gap: 20px;              
}

.search {
    display: flex;
    align-items: center;
    padding:14px;
    border-radius: 28px;
    background: rgba(244, 243, 243, 0.803);
    height: 40px;
    width: 100%;
    max-width: 300px;
   

}
.search-input{
    flex: 1;
    min-width: 0;
    font-size: 16px;
    margin-left: 14px;
    outline: none;
    border: none;
    color: #333;
    background: rgba(244, 243, 243, 0.803);
}
.search img{
    width: 20px;
    margin-left: 10px;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
  }
  
#colors {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    padding-top: 6px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #colors .color {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 250ms ease, transform 250ms ease;
  }
  
  #colors.show .color {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #colors.show .color:nth-child(1) { transition-delay: 0ms; }
  #colors.show .color:nth-child(2) { transition-delay: 80ms; }
  #colors.show .color:nth-child(3) { transition-delay: 160ms; }
  #colors.show .color:nth-child(4) { transition-delay: 240ms; }
  #colors.show .color:nth-child(5) { transition-delay: 320ms; }
  

  #colors .color:nth-child(1) { transition-delay: 320ms; }
  #colors .color:nth-child(2) { transition-delay: 240ms; }
  #colors .color:nth-child(3) { transition-delay: 160ms; }
  #colors .color:nth-child(4) { transition-delay: 80ms; }
  #colors .color:nth-child(5) { transition-delay: 0ms; }
  
  .color {
    width: 15px;
    height: 15px;
    cursor: pointer;
    border-radius: 50%;

  }
  .color-wrapper {
    position: relative; 
  }
  
  .pink { background: #FDC8C2; }
  .soft-peach { background: #FDD6C1; }
  .peach { background: #FDBC96; }
  .lavande { background: #DAC2CF; }
  .powder-blue { background: #D6E8F2; }
  
  #notes-container {
    display:flex;        
    flex-wrap: wrap;      
    gap: 15px;            
    
  }    
    
  .note {
    width: 250px;    
    height: 250px;   
    border-radius: 12px;
    padding: 10px;
    border: none;
    resize: none;
    text-align: left;
    font-size: 15px;
    color: #333;
    margin-top: 10px;
    padding-bottom: 28px;
    padding-top: 35px;
    
  }
  .note-card {
    position: relative;
    
  }
  
  .delete-btn {
    position: absolute;
    top: 20px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: "0";
  }
  
  .delete-btn img {
    width: 18px;   
    height: 18px;
  }
  
  .note-date {
    position: absolute;
    bottom: 15px;
    left: 12px; 
    font-size: 12px;
    color: #777;
    pointer-events: none; 
  }
  
  
  
  
 
  
  
