.note-card {
    max-width: 1100px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.note-toolbar {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0ebff 100%);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #d0d6e3;
}

/* Custom Dropdown Styling */
.note-custom-select {
  position: relative;
  width: 160px;
  font-family: "Roboto Slab", serif;
}

.note-selected {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 5px 10px;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.note-selected:hover {
  border-color: #0F2BC9;
}

.note-selected:after {
  content: "\25BC";
  position: absolute;
  top: 50%;
  right: 10px;
  font-size: 0.5rem;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.note-items {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  display: none;
  max-height: 160px;
  overflow-y: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.note-items div {
  padding: 10px;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.25s ease;
}

.note-items div:hover {
  background: #f0f4ff;
}

.note-items.show {
  display: block;
}

.note-selected.note-active:after {
  transform: translateY(-50%) rotate(180deg);
}

/* Dropdowns alignment and sizing adjustments */
.note-toolbar .note-custom-select {
  width: 140px;
  min-width: 130px;
}

/* Smooth scrollbar for dropdowns */
.note-items::-webkit-scrollbar {
  width: 6px;
}

.note-items::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 8px;
}

/* Toolbar Buttons */
.note-btn {
    background: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    font-family: "Roboto Slab", serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.note-btn:hover,
.note-btn.active {
    background: #eaebed;
    color: #000;
}

/* Vertical pipeline divider */
.note-divider {
    width: 2px;              
    height: 28px;             
    background-color: #bbb8b8;   
    margin: 0;         
    align-self: center;      
}

/* Color Picker */
.note-color-picker {
    position: relative;
}

.note-btn.color-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.note-color-input {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.note-color-picker.active .note-color-input {
    opacity: 1;
    pointer-events: all;
}

.note-custom-select.active .note-items {
    display: block !important;
}

/* Action Buttons */
.note-action-btn {
    background: linear-gradient(135deg, #0F2BC9 0%, #667eea 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    font-family: "Roboto Slab", serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.note-action-btn:hover {
    transform: translateY(1px);
}

/* Note Editor Area */
.note-editor {
    height: 500px;
    padding: 1.5rem;
    font-size: 1rem;
    font-family: "Roboto Slab", serif;
    color: #111;
    overflow-y: auto;
    outline: none;
    line-height: 1.6;
}

.note-editor:empty::before {
    content: attr(data-placeholder);
    color: #888;
    pointer-events: none;
}

/* Scrollbar Styling */
.note-editor::-webkit-scrollbar {
    width: 8px;
}

.note-editor::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 8px;
}

.note-editor::-webkit-scrollbar-thumb:hover {
    background: #888;
}


/***** Media Query *****/
/***** Tablets in portrait & smaller laptops (≤991px) ******/
@media (max-width: 991px) {
.note-card {
    max-width: 850px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
}

/***** Standard tablets & landscape phones (≤768px) ******/
@media (max-width: 768px) {
.note-card {
    max-width: 700px;
    flex-direction: column;
    overflow: hidden;
}
}

/***** Large smartphones & phablets (≤617px) ******/
@media (max-width: 617px) {
.note-card {
    max-width: 550px;
    flex-direction: column;
    overflow: hidden;
}

.note-divider {
    display: none;    
}
}

/***** Small smartphones (≤450px) ******/
@media (max-width: 450px) {
.note-card {
    max-width: 400px;
    flex-direction: column;
    overflow: hidden;
}

.note-divider {
    display: none;    
}
}

/***** Extra small phones & older devices (≤365px) ******/
@media (max-width: 365px) {
.note-card {
    max-width: 350px;
    flex-direction: column;
    overflow: hidden;
}

.note-divider {
    display: none;    
}
}



