/* ============================================
   REGISTER PAGE STYLES - CURHATKU APP
   ============================================ */

:root {
    --primary-color: #0066cc;
    --secondary-color: #0052a3;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 40px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.app-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.app-tagline {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

/* Welcome Text */
.welcome-text {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.welcome-text p {
    font-size: 14px;
    color: #6c757d;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label .required {
    color: var(--danger-color);
    margin-left: 2px;
}

.input-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
}

.input-group-text {
    background: var(--light-bg);
    border: 1px solid #dee2e6;
    border-right: none;
    padding: 12px 15px;
}

.input-group-text i {
    color: var(--primary-color);
    width: 20px;
}

.form-control {
    border: 1px solid #dee2e6;
    border-left: none;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.form-select {
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

textarea.form-control {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    resize: vertical;
}

.invalid-feedback {
    display: block;
    font-size: 12px;
    color: var(--danger-color);
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

/* Password Requirements */
.password-requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    font-size: 12px;
}

.password-requirements h6 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.requirement {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #6c757d;
}

.requirement i {
    font-size: 10px;
    margin-right: 8px;
    width: 12px;
}

.requirement.met {
    color: var(--success-color);
}

/* Checkbox Styles */
.form-check {
    margin: 20px 0;
    padding-left: 30px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #dee2e6;
    cursor: pointer;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 13px;
    color: #6c757d;
    cursor: pointer;
    margin-left: 8px;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-register {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    margin-top: 20px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.btn-register:active {
    transform: translateY(0);
}

.btn-register:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.login-link p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        padding: 30px 20px;
    }

    .app-title {
        font-size: 24px;
    }

    .welcome-text h2 {
        font-size: 20px;
    }

    .progress-steps {
        font-size: 12px;
    }

    .step-number {
        width: 35px;
        height: 35px;
    }

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

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

    .card {
        padding: 25px 15px;
    }

    .logo-container img {
        width: 60px;
        height: 60px;
    }

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

    .step-label {
        font-size: 10px;
    }
}