@import url('../base.css');

.div-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    border-radius: 20px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 550px;
    min-height: 600px;
    margin: 0 auto;
}

.page {
    display: block;
    padding: 40px 30px;
    text-align: center;
}

.page.active {
    display: block;
}

.header {
    margin-bottom: 40px;
}

.logo {
    width: 80%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text-color);
    font-size: 24px;
    font-weight: bold;
}

.title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 650;
    margin-bottom: 10px;
}

.form-title {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px ;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 16px;
    background: var(--secondary-color);
}


.bx {
    font-size: 1.2em;
    color: var(--primary-text-color);
}


.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-text-color);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 900;
}


.form-group input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--secondary-color);
}

.form-group input:focus {
    outline: none;
    border-color: var(--hover-btn-color);
    background: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}




.submit-btn {
    width: 100%;
    padding: 15px;
    background:var(--primary-btn-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background:var(--hover-btn-color);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.back-link {
    margin-top: 20px;
      font-weight: 900;
}

.back-link a {
    color: var(--primary-btn-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--hover-btn-color);
    text-decoration: underline;

}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

.powered-by {
    color: var(--primary-text-color);
    font-size: 12px;
    margin-bottom: 10px;
     font-weight: 900;
}

.tech-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color:  #1dd1a1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tech-logo:hover {
    color: var(--hover-btn-color);
}

.tech-images {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 10px;
    font-weight: bold;
}
@media (max-width: 992px) {
    .container {
        margin: 10px;
        border-radius: 15px;
        min-height: auto;
    }

    .page {
        padding: 30px 20px;
    }

    .title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 14px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-group input {
        padding: 12px 45px 12px 15px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 13px;
    }
}
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 13px;
        min-height: auto;
    }

    .page {
        padding: 30px 20px;
    }

    .title {
        font-size: 18px;
    }

    .subtitle {
        font-size: 14px;
    }

    .form-title {
        font-size: 18px;
    }

    .form-group input {
        padding: 12px 45px 12px 15px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 10px;
    }

    .page {
        padding: 20px 15px;
    }

    .logo {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .title {
        font-size: 18px;
    }

    .form-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input {
        padding: 10px 40px 10px 12px;
        font-size: 14px;
    }

    .input-icon {
        right: 12px;
        font-size: 16px;
    }
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    z-index: 1000;
    max-width: 300px;
    word-wrap: break-word;
}

.alert-success {
    background: var(--hover-btn-color);
}

.alert-error {
    background: var(--primary-red-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}