/* Register Page Styles */

.register-section {
    min-height: auto;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 950px;
    width: 85%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Left Side - Image */
.register-image {
    background: linear-gradient(rgba(17, 115, 49, 0.4), rgba(17, 115, 49, 0.5)),
                url('../images/login-image.jpg') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 35px 30px;
    position: relative;
}

.register-logo {
    color: white;
    text-align: left;
}

.register-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-radius: 50%;
}

.register-logo h2 {
    font-size: clamp(20px, 1.8vw, 24px);
    margin-bottom: 5px;
    font-weight: 600;
}

.register-logo p {
    font-size: clamp(12px, 0.95vw, 14px);
    color: #e0e0e0;
}

/* Right Side - Form */
.register-form-container {
    padding: 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.register-form-container h2 {
    font-size: clamp(20px, 2vw, 26px);
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 700;
}

.subtitle {
    color: #999;
    font-size: clamp(11px, 0.9vw, 13px);
    margin-bottom: 18px;
}

.register-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: #333;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 500;
    margin-bottom: 4px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: clamp(11px, 0.9vw, 13px);
    transition: border-color 0.3s;
    background-color: #f5f5f5;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #117331;
    background-color: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.btn-create {
    width: 100%;
    padding: 11px;
    background-color: #117331;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.btn-create:hover {
    background-color: #0d5a26;
}

.divider {
    text-align: center;
    margin: 12px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background-color: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: white;
    padding: 0 12px;
    color: #999;
    font-size: clamp(12px, 0.9vw, 14px);
}

.btn-google {
    width: 100%;
    padding: 10px;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-google:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.signin-link {
    text-align: center;
    margin-top: 12px;
    font-size: clamp(11px, 0.9vw, 13px);
    color: #666;
}

.signin-link a {
    color: #117331;
    text-decoration: none;
    font-weight: 600;
}

.signin-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .register-container {
        max-width: 850px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row .form-group:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .register-section {
        padding: 30px 15px;
    }
    
    .register-container {
        grid-template-columns: 1fr;
        width: 95%;
    }
    
    .register-image {
        min-height: 220px;
        padding: 35px 25px;
    }
    
    .register-logo img {
        width: 55px;
        height: 55px;
    }
    
    .register-form-container {
        padding: 35px 25px;
        max-height: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row .form-group:nth-child(3) {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .register-form-container {
        padding: 30px 20px;
    }
    
    .register-image {
        min-height: 180px;
        padding: 30px 20px;
    }
}
