:root {
    --primary-color: #e63946;
    --secondary-color: #f1faee;
    --accent-color: #a8dadc;
    --dark-color: #1d3557;
    --light-color: #f8f9fa;
    --danger-color: #610606;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fef6f6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23ffd6d6" fill-opacity="0.3" d="M30,50 Q50,30 70,50 T90,50 T70,50 T50,70 T30,50" /></svg>');
    background-size: 150px;
    opacity: 0.6;
    z-index: -1;
}

.app-container {
    max-width: 414px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

/* Common Styles */
.content {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.logo::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto;
    border-radius: 3px;
}

.tagline {
    font-size: 1rem;
    opacity: 0.8;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.graphic-container {
    margin: 0 auto 2rem;
    width: 200px;
    height: 200px;
    position: relative;
}

.pregnant-woman {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e63946"><path d="M12 2a5 5 0 1 0 5 5 5 5 0 0 0-5-5zm0 8a3 3 0 1 1 3-3 3 3 0 0 1-3 3zm9 11v-1a7 7 0 0 0-7-7h-4a7 7 0 0 0-7 7v1h2v-1a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v1z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    animation: pulse 2s infinite;
}

.heart-beat {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e63946"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    animation: heartbeat 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes heartbeat {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 300px;
    margin-top: 2rem;
}

.btn-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.3s;
    opacity: 0;
}

.btn-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.btn-icon:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn-login {
    background-color: var(--primary-color);
}

.btn-register {
    background-color: var(--dark-color);
}

.btn-guide {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.info-text {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--dark-color);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.5;
    position: relative;
    padding: 0 1rem;
}

.info-text::before,
.info-text::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    top: 50%;
    opacity: 0.3;
}

.info-text::before {
    left: 0;
}

.info-text::after {
    right: 0;
}

.footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    color: #666;
    background-color: rgba(248, 249, 250, 0.8);
    width: 100%;
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Floating elements in background */
.floating-element {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-1000px) rotate(720deg); }
}

.blood-drop {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e63946"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.leaf {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23457b9d"><path d="M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17 1.02.3 1.58.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

/* Form Styles */
.form-container {
    width: 100%;
    max-width: 320px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 1rem 0;
}

.form-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-control {
    border-radius: 50px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
}

.form-select {
    border-radius: 50px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px;
    width: 100%;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.buttons-center-group {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.btn-logout {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px;
    width: 50%;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-logout:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.user-greeting {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.user-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.dashboard-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.menu-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--dark-color);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.menu-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.menu-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.menu-desc {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Medicine Calendar Page Styles */
.calendar-container {
    width: 100%;
    padding: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-title {
    color: var(--primary-color);
    font-weight: 600;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
}

.day-number {
    font-size: 0.9rem;
    font-weight: 600;
}

.day-medicine {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-top: 3px;
}

.current-day {
    background-color: var(--primary-color);
    color: white;
}

.current-day .day-medicine {
    background-color: white;
}

.medicine-list {
    margin-top: 2rem;
    width: 100%;
}

.medicine-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.medicine-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.medicine-info {
    flex: 1;
}

.medicine-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.medicine-time {
    font-size: 0.8rem;
    color: #666;
}

.medicine-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    flex-shrink: 0;
    cursor: pointer;
}

.medicine-status.done {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
}

.medicine-status.done::after {
    content: "✓";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
}

.back-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
}


/* Page Transitions */
.page {
    display: none;
}

.page.active {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Messaging Page Styles */
.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh);
    padding: 1rem;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.chat-back-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.chat-partner {
    display: flex;
    align-items: center;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

.chat-partner-info h5 {
    margin: 0;
    font-size: 1rem;
}

.chat-partner-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.message {
    max-width: 80%;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    position: relative;
    word-wrap: break-word;
}

.received {
    background-color: #f0f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    margin-right: auto;
}

.sent {
    background-color: var(--primary-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    margin-left: auto;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.3rem;
    text-align: right;
}
.message-sender {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.3rem;
    text-align: left;
}

.chat-input {
    display: flex;
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #eee;
}

.message-input {
    flex: 1;
    border-radius: 50px;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    margin-right: 0.5rem;
}

.send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-badge {
    background-color: var(--dark-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
}

.typing-indicator {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #666;
}

.typing-dots {
    display: flex;
    margin-left: 0.5rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: #999;
    border-radius: 50%;
    margin: 0 2px;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

.error-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.error-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--danger-color);
    max-width: 300px;
}

.error-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.error-btn:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(230, 57, 70, 0.4);
    color: white;
}

.error-btn i {
    margin-right: 8px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-info {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-info.active {
    opacity: 1;
    visibility: visible;
}

.logout-modal {
    background-color: white;
    border-radius: 15px;
    width: 85%;
    max-width: 350px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .logout-modal {
    transform: translateY(0);
}

.modal-info.active .logout-modal {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.modal-text {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.modal-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    max-width: 120px;
}

.modal-btn-cancel {
    background-color: #f0f0f0;
    color: #333;
}

.modal-btn-cancel:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.modal-btn-confirm {
    background-color: var(--primary-color);
    color: white;
}

.modal-btn-confirm:hover {
    background-color: #c1121f;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(230, 57, 70, 0.3);
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.profile-back-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
}

.profile-avatar-container {
    position: relative;
    width: fit-content;
    margin: 0 auto 1rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    object-fit: cover;
}

.profile-avatar-edit {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    cursor: pointer;
}

.profile-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.profile-email {
    font-size: 0.9rem;
    opacity: 0.9;
}

.profile-content {
    padding: 1.5rem;
}

.profile-section {
    margin-bottom: 1.5rem;
}

.profile-section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.profile-section-title i {
    margin-right: 0.5rem;
}

.profile-info {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.profile-info-item {
    display: flex;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.profile-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-info-label {
    flex: 1;
    margin-right: 5px;
    font-weight: 500;
    color: var(--dark-color);
}

.profile-info-value {
    flex: 2;
    color: #555;
}

.profile-edit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-edit-btn i {
    margin-right: 0.5rem;
}

.profile-edit-btn:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

/* Edit Profile Modal */
.edit-profile-modal {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.edit-profile-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.edit-profile-form .form-group {
    margin-bottom: 1rem;
}

.edit-profile-form label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    display: block;
}

.edit-profile-form input, 
.edit-profile-form select {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.edit-profile-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.edit-profile-buttons button {
    flex: 1;
    padding: 0.7rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-profile-cancel {
    background-color: #f0f0f0;
    color: #333;
}

.edit-profile-save {
    background-color: var(--primary-color);
    color: white;
}

.edit-profile-cancel:hover {
    background-color: #e0e0e0;
}

.edit-profile-save:hover {
    background-color: #c1121f;
}

/* Avatar Edit Modal */
.avatar-edit-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.avatar-edit-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.avatar-edit-btn:hover {
    transform: scale(1.1);
}