/* Register Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f7fb;
}

/* ===============================
   REGISTER PAGE
================================ */

.register-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(245, 247, 251, .96),
        rgba(245, 247, 251, .96)),
    url('../../../images/pattern.png');
}

.register-card {
    width: 1200px;
    min-height: 720px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
}

/* ===============================
   LEFT SIDE
================================ */

.left-side {
    width: 50%;
    background: linear-gradient(135deg, #169b45, #22c55e);
    color: #fff;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.left-side::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    top: -120px;
    right: -120px;
}

.left-side::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    left: -80px;
    bottom: -80px;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
    margin-bottom: 45px;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.logo-text h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.logo-text p {
    margin: 0;
    opacity: .9;
}

/* Hero */

.hero {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero p {
    font-size: 18px;
    opacity: .95;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* ===============================
   AUTH FEATURE
=============================== */

.auth-feature-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, .15);
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 18px;
    transition: .3s;
}

.auth-feature-box:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-3px);
}

.auth-feature-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.auth-feature-icon i {
    font-size: 24px;
    color: #16a34a;
}

.auth-feature-content {
    flex: 1;
}

.auth-feature-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.auth-feature-desc {
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.5;
}

/* Illustration */

.illustration {
    width: 100%;
    margin-top: 35px;
    text-align: center;
}

.illustration img {
    width: 90%;
    max-width: 420px;
}

/* ===============================
   RIGHT SIDE
================================ */

.right-side {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.register-form {
    width: 100%;
    max-width: 430px;
}

.register-form h2 {
    font-size: 46px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.register-form p {
    color: #777;
    margin-bottom: 30px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.input-group-text {
    background: #fff;
    border-radius: 14px 0 0 14px;
}

.form-control {
    height: 56px;
    border-radius: 0 14px 14px 0;
}

.form-control:focus {
    border-color: #16a34a;
    box-shadow: none;
}

.register-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: #16a34a;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    transition: .3s;
}

.register-btn:hover {
    background: #15803d;
}

.divider {
    text-align: center;
    margin: 28px 0;
    position: relative;
    color: #888;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.google-btn {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ddd;
    font-weight: 600;
    transition: .3s;
}

.google-btn:hover {
    background: #f5f5f5;
}

.login-link {
    margin-top: 25px;
    text-align: center;
}

.login-link a {
    color: #16a34a;
    font-weight: 600;
    text-decoration: none;
}

/* ===============================
   RESPONSIVE
================================ */

@media(max-width:992px) {

    .register-card {
        flex-direction: column;
        height: auto;
    }

    .left-side,
    .right-side {
        width: 100%;
    }

    .left-side {
        padding: 40px;
    }

    .right-side {
        padding: 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

}

/* SweetAlert Customization */
.swal-bs-popup {
    font-family: 'Poppins', sans-serif !important;
    border-radius: 18px !important;
}

.swal-bs-progress {
    background: #16a34a !important;
}

.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.swal2-icon.swal2-success {
    border-color: #16a34a !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #16a34a !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(22, 163, 74, .3) !important;
}
