﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: #f7f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    width: 60%;
    max-width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.form-side {
    flex: 1;
    padding: 40px;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 5%;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: #666;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        border-radius: 30px;
        height:50px;
    }

        .form-group input:focus {
            outline: none;
            border-color: #ff3131;
        }

.toggle-password {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

    .toggle-password input {
        margin-right: 10px;
    }

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #cd0000, #3a74a4);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

    .btn-login:hover {
        opacity: 0.9;
    }

.logo {
    position: absolute;
    opacity: 20%;
    width: 500px;
    height: 500px;
    object-fit: cover;
    right: 77%;
    top: 30%;
    rotate: 1deg;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .login-container {
        width: 80%;
        flex-direction: column;
    }

    .logo {
        position: absolute;
        opacity: 20%;
        width: 500px;
        height: 500px;
        object-fit: cover;
        right: 28%;
        top: 30%;
        rotate: 1deg;
        margin-bottom: 20px;
    }

    .image-side {
        display: none;
    }
}

.info-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3a74a4, #2c5a82);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 116, 164, 0.2);
    z-index: 1000;
}

    .info-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(58, 116, 164, 0.3);
    }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 30px;
    width: 85%;
    max-width: 800px;
    border-radius: 15px;
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
}

    .tab.active {
        color: #3a74a4;
        border-bottom: 3px solid #3a74a4;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.feature-title {
    color: #3a74a4;
    font-weight: bold;
    margin-bottom: 10px;
}

.doctor-benefits {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.benefit-item {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
}

    .benefit-item:before {
        content: "✓";
        color: #3a74a4;
        position: absolute;
        left: 0;
        font-weight: bold;
    }

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close:hover {
        color: #000;
    }

.modal-title {
    margin-bottom: 20px;
    color: #3a74a4;
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #3a74a4;
}

.modal-text {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.section-title {
    color: #2c5a82;
    font-size: 20px;
    margin: 25px 0 15px 0;
    font-weight: bold;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

    li:before {
        content: "•";
        color: #3a74a4;
        font-weight: bold;
        position: absolute;
        left: 0;
    }

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }

    .info-btn {
        top: 10px;
        right: 10px;
        padding: 10px 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }

    .tab {
        width: 100%;
        text-align: center;
    }
}
