* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    background: #000000;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    color: #FFFFFF;
    margin: 0;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 450px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.lang {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s;
    font-family: 'Montserrat', 'Arial', sans-serif;
}

.lang:hover {
    color: #D4AF37;
}

.lang.active {
    color: #FFFFFF;
}

.lang-divider {
    color: #FFFFFF;
    font-size: 14px;
}

/* Doctor Section */
.doctor-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

.doctor-info {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.title {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-family: 'Montserrat', 'Arial', sans-serif;
    text-transform: uppercase;
}

.name-logo {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 5px;
    color: #FFFFFF;
    margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    text-transform: uppercase;
}

.surname-logo {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 5px;
    color: #D4AF37;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    text-transform: uppercase;
}

.divider {
    width: 100%;
    height: 1px;
    background: #D4AF37;
    margin: 0 auto 15px;
    max-width: 200px;
}

.specialty {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Montserrat', 'Arial', sans-serif;
    text-transform: uppercase;
    line-height: 1.4;
}

.leg-visual {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.leg-circle {
    width: 80px;
    height: 80px;
    border: 1px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    padding: 10px;
     transform: scaleX(-1);
}

.leg-circle svg {
    width: 100%;
    height: 100%;
}


/* Menu Section */
.menu-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 20px;
    padding-left: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    text-decoration: none;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s;
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background-color: rgba(255, 255, 255, 0.05);
}

.chevron {
    font-size: 25px;
    font-weight: 600;
    color: #D4AF37;
    font-family: 'Montserrat', 'Arial', sans-serif;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.menu-icon {
    flex-shrink: 0;
    width: 14px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
}

.menu-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.menu-text {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: 'Montserrat', 'Arial', sans-serif;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: stretch;
        overflow: hidden;
    }

    .container {
        max-width: 100%;
        border: none;
        border-radius: 0;
        height: 100vh;
        max-height: 100vh;
        margin-top: 0;
        margin-bottom: 0;
        padding: 15px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .language-selector {
        top: 15px;
        right: 15px;
    }

    .lang {
        font-size: 12px;
    }

    .doctor-section {
        margin-top: 40px;
        margin-bottom: 20px;
        gap: 15px;
    }

    .leg-visual {
        width: 70px;
        height: 70px;
        margin-top: 24px;
    }

    .leg-circle {
        width: 70px;
        height: 70px;
    }

    .title {
        font-size: 11px;
    }

    .name-logo {
        font-size: 30px;
        letter-spacing: 4px;
    }

    .surname-logo {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .specialty {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .menu-item {
        padding: 9px 0;
    }

    .menu-text {
        font-size: 13px;
    }

    .chevron {
        font-size: 25px;
    }

    .menu-icon {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container {
        max-width: 500px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doctor-section {
    animation: fadeIn 0.6s ease-out;
}

.menu-section .menu-item {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.menu-section .menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-section .menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-section .menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-section .menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-section .menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-section .menu-item:nth-child(6) { animation-delay: 0.6s; }
.menu-section .menu-item:nth-child(7) { animation-delay: 0.7s; }
.menu-section .menu-item:nth-child(8) { animation-delay: 0.8s; }
.menu-section .menu-item:nth-child(9) { animation-delay: 0.9s; }
