* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fc;
    background-image: linear-gradient(135deg, #f7f9fc 0%, #e9f0f7 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px;
}

a {
    text-decoration: none;
    color: #003a70;
    transition: all 0.3s ease;
}

a:hover {
    color: #3cbfe6;
}

/* Main Content */
main {
    padding: 50px; 
}

/* Register Section */
.register-section .container {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 58, 112, 0.1);
    max-width: 1100px;
}

.register-form-container {
    flex: 1;
    padding: 50px;
    min-width: 300px;
}

.register-form-container h2 {
    color: #003a70;
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.register-form-container p {
    color: #8895a7;
    margin-bottom: 35px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 58, 112, 0.06);
    background-color: #f7f9fc;
}

.form-group input:focus {
    outline: none;
    border-color: #003a70;
    box-shadow: 0 3px 8px rgba(0, 58, 112, 0.1);
    background-color: #fff;
}

.form-group .toggle-password {
    position: absolute;
    right: 18px;
    top: 33%;
    cursor: pointer;
    color: #8895a7;
    transition: color 0.3s ease;
}

.form-group .toggle-password:hover {
    color: #003a70;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-group label {
    position: relative;
    cursor: pointer;
    padding-left: 30px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.checkbox-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1px solid #e1e5eb;
    background: #f7f9fc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 58, 112, 0.06);
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked + label::before {
    background: #003a70;
    border-color: #003a70;
}

.checkbox-group input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 0px;
    color: #fff;
    font-size: 14px;
}

.checkbox-group input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 3px rgba(0, 58, 112, 0.1);
}

.terms-link {
    color: #003a70;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #3cbfe6;
}

.button {
    width: 100%;
    background: linear-gradient(to right, #003a70, #2a5585);
    color: #fff;
    border: none;
    padding: 15px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 58, 112, 0.2);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button span {
    margin-right: 8px;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.button:hover {
    background: linear-gradient(to right, #2a5585, #003a70);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 58, 112, 0.25);
}

.button:hover::before {
    left: 100%;
}

.login-link {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: #555;
}

.login-link a {
    font-weight: 600;
    color: #003a70;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: #3cbfe6;
}

.register-info {
    flex: 1;
    background: linear-gradient(145deg, #003a70, #002a50);
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.register-info::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.register-info::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(230, 162, 60, 0.1);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.info-item {
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(8px);
}

.info-item i {
    font-size: 38px;
    color: #3cbfe6;
    margin-bottom: 18px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.info-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-item p {
    opacity: 0.85;
    font-size: 15px;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .register-section .container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .register-info {
        border-radius: 16px !important;
    }
    .register-section .container {
        flex-direction: column;
        max-width: 95%;
    }
    
    .register-form-container,
    .register-info {
        width: 100%;
    }
}

@media (max-width: 576px) {
    main {
        padding-top: 100px;
    }
    
    .register-form-container,
    .register-info {
        padding: 35px 25px;
    }
    
    .register-form-container h2 {
        font-size: 28px;
    } 
    
    .button {
        padding: 14px 0;
    }
    
    .register-info {
        display: none;
    }
}