/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #222831;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header Styles (same as landing page) */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 5%;
    position: relative;
    z-index: 10;
    min-height: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    position: relative;
    box-sizing: border-box;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-title {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 500;
    white-space: nowrap;
    margin-left: -10px;
}

.nav-links {
    display: flex;
    gap: 15px;
    margin-left: clamp(20px, 8vw, 100px);
    flex-shrink: 0;
}

.nav-links a {
    color: white;
    font-size: clamp(14px, 2.5vw, 18px);
    text-decoration: none;
    padding: 10px 15px;
    min-width: 80px;
    text-align: center;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ADB5;
}

.search-container {
    display: flex;
    width: 168px;
    height: 48px;
    padding: 10px 13px;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    border-radius: 20px;
    border: 2px solid #4A709C;
    background: #BFC8D7;
    margin-left: auto;
}

.search-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-input {
    color: black;
    font-size: clamp(12px, 2.5vw, 16px);
    font-weight: 400;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    flex: 1;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.profile-icon {
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.profile-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.profile-icon:hover {
    transform: scale(1.05);
}

.divider {
    width: 100%;
    height: 2px;
    background-color: #E8EDF5;
    margin-top: -5px;
}

/* Notes Page Specific Styles */
.notes-section {
    margin: 20px 15%;
    width: 70%;
}

.notes-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

.notes-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: clamp(500px, 80vw, 900px);
    width: 90%;
    margin: 0 auto;
}

.note-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.note-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.note-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note-title {
    font-size: 14px;
    font-weight: 400;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.note-description {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.66);
    margin: 0;
    line-height: 1.4;
}

.view-button {
    width: 79px;
    height: 28px;
    background: #00ADB5;
    border-radius: 20px;
    border: 1px solid #0D141C;
    color: black;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-button:hover {
    background: #009aa1;
    transform: translateY(-2px);
}

.note-image {
    flex-shrink: 0;
}

.note-image img {
    width: 200px;
    height: 130px;
    border-radius: 20px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 12px 15px;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon img {
        width: 32px;
        height: 32px;
    }
    
    .site-title {
        font-size: 16px;
        margin: 0;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        margin-left: 0;
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 20px;
        background: rgba(0, 173, 181, 0.1);
        border: 1px solid rgba(0, 173, 181, 0.3);
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: #00ADB5;
        color: #0D141C;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 173, 181, 0.3);
    }
    
    .search-container {
        min-width: 100px;
        padding: 8px 12px;
        margin-left: auto;
        border-radius: 20px;
    }
    
    .search-input {
        font-size: 14px;
    }
    
    .notes-section {
        margin: 20px 15px;
        width: calc(100% - 30px);
    }
    
    .note-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .note-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .logo-icon img {
        width: 28px;
        height: 28px;
    }
    
    .site-title {
        font-size: 14px;
        text-align: left;
        margin: 0;
        flex: 1;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        margin-top: 8px;
        margin-left: 0;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 6px 12px;
        border-radius: 15px;
        background: rgba(0, 173, 181, 0.1);
        border: 1px solid rgba(0, 173, 181, 0.3);
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: #00ADB5;
        color: #0D141C;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 173, 181, 0.3);
    }
    
    .search-container {
        order: 2;
        align-self: center;
        max-width: 120px;
        margin-left: 0;
        padding: 6px 10px;
    }
    
    .search-input {
        font-size: 13px;
    }
    
    .profile-icon {
        order: 5;
        align-self: center;
    }
    
    .notes-section {
        margin: 15px 10px;
        width: calc(100% - 20px);
    }
    
    .notes-title {
        font-size: 20px;
    }
    
    .note-card {
        padding: 15px;
    }
    
    .note-title {
        font-size: 13px;
    }
    
    .note-description {
        font-size: 11px;
    }
    
    .view-button {
        width: 70px;
        height: 25px;
        font-size: 12px;
    }
}

@media (min-width: 1200px) {
    .header {
        padding: 25px 8%;
    }
    
    .notes-section {
        margin: 40px 8%;
        width: 84%;
    }
    
    .notes-container {
        max-width: 900px;
    }
    
    .note-card {
        gap: 50px;
        padding: 25px;
    }
    
    .note-image img {
        width: 250px;
        height: 160px;
    }
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.signature {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    font-style: italic;
}

.legal-links {
    margin-top: 10px;
    text-align: center;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #00ADB5;
}

.separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
    font-size: 12px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}
