﻿/* Sign Up Area */
.sign-up-area {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Register Highlight Box */
.register-highlight {
    background: linear-gradient(135deg, #1a237e, #283593, #3949ab);
    color: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(26, 35, 126, 0.3);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .register-highlight:before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 45%), radial-gradient(circle at 80% 0%, rgba(255,255,255,0.08), transparent 40%);
        pointer-events: none;
    }

.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    margin-left: 12px;
    backdrop-filter: blur(4px);
}

.register-highlight .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.register-highlight h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 22px;
}

.register-highlight p {
    color: #e3f2fd !important;
    line-height: 1.6;
    font-size: 14px;
}

/* Mini Cards */
.mini-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    backdrop-filter: blur(4px);
    margin-bottom: 10px;
}

    .mini-card:last-child {
        margin-bottom: 0;
    }

    .mini-card h6 {
        color: #ffffff !important;
        font-weight: 600;
        font-size: 15px;
        margin-bottom: 5px;
    }

    .mini-card p {
        color: #e3f2fd !important;
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 0;
    }

.mini-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    flex-shrink: 0;
}

/* Avatar Stack */
.avatar-stack {
    display: inline-flex;
    align-items: center;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0d47a1;
    font-weight: 700;
    margin-left: -10px;
    border: 2px solid #e3f2fd;
    background: #ffffff;
    font-size: 14px;
}

    .avatar-circle:first-child {
        margin-left: 0;
    }

.register-highlight h6.mb-0 {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

.register-highlight .small.text-muted {
    color: #bbdefb !important;
    font-size: 13px;
}

/* Contact Form */
.contact-form-action {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

    .contact-form-action:hover {
        transform: translateY(-5px);
    }

.form-heading {
    margin-bottom: 25px;
}

.form-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px !important;
}

.form-desc {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.5;
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    color: #34495e;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0.4rem;
    display: block;
}

.form-control {
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.95rem;
    height: 46px;
    transition: all 0.3s ease;
    width: 100%;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        outline: none;
    }

/* Input Group */
.input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e0e6ed;
    transition: all 0.3s ease;
}

    .input-group:focus-within {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .input-group .form-control {
        border: none;
        padding-right: 12px;
    }

.input-group-text {
    background: #f8fafc;
    border: none;
    cursor: pointer;
    padding: 0 15px;
    color: #64748b;
    transition: all 0.3s ease;
}

    .input-group-text:hover {
        background: #e2e8f0;
        color: #475569;
    }

/* Help Text */
small.text-muted {
    font-size: 12px;
    color: #64748b !important;
    display: block;
    margin-top: 5px;
    line-height: 1.4;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

    .password-strength .progress {
        background-color: #e9ecef;
        border-radius: 3px;
        height: 5px;
        margin-bottom: 5px;
    }

    .password-strength .progress-bar {
        transition: width 0.3s ease;
        border-radius: 3px;
        background-color: #dc3545;
    }

    .password-strength small {
        font-size: 12px;
    }

/* Card for Password Tips */
.card.border-0.bg-light {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: none;
    background-color: #f8f9fa !important;
}

.card-body.p-3 {
    padding: 16px !important;
}

.card-title {
    color: #2c3e50;
    font-size: 13px;
    font-weight: 700;
}

.card-body ul {
    margin: 0;
    padding: 0;
}

    .card-body ul li {
        color: #5a6c7d;
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 3px;
    }

        .card-body ul li i {
            font-size: 14px;
        }

/* Form Check */
.form-check {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.form-check-input {
    margin-left: 10px;
    margin-top: 0.3em;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: #667eea;
        border-color: #667eea;
    }

.form-check-label {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

    .form-check-label a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .form-check-label a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    color: white;
    height: 50px;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        color: white;
    }

    .btn-primary:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .btn-primary .spinner-border {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

/* Link to Sign In */
.text-center.mb-0 {
    margin-bottom: 0 !important;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

    .text-center.mb-0 p {
        color: #64748b;
        font-size: 14px;
        margin-bottom: 0;
    }

    .text-center.mb-0 a {
        color: #667eea;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .text-center.mb-0 a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

/* Social Login */
.social-login-section {
    margin-bottom: 25px;
}

    .social-login-section .text-center.mb-3 span {
        color: #64748b;
        font-size: 14px;
        position: relative;
        padding: 0 15px;
        background: white;
    }

.row.g-3 {
    --bs-gutter-y: 1rem;
    margin-bottom: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(145deg, #ffffff, #f2f5f9);
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
    width: 100%;
    height: 46px;
}

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
        border-color: #cbd5e1;
    }

    .social-btn:focus {
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.social-label {
    font-size: 13px;
    white-space: nowrap;
}

/* Separator */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

.separator-text {
    padding: 0 15px;
    color: #6c757d;
    font-size: 13px;
    background: white;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 4px solid #2ecc71;
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.alert .d-flex {
    align-items: flex-start;
}

.alert i {
    margin-top: 2px;
}

.btn-close {
    padding: 1rem;
    background-size: 0.8em;
}

/* Validation Errors */
.text-danger.small {
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sign-up-area {
        padding: 40px 0;
    }

    .row.g-4 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }

    .contact-form-action,
    .register-highlight {
        padding: 25px;
    }

    .form-title {
        font-size: 24px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
        height: 46px;
    }
}

@media (max-width: 768px) {
    .page-title-area {
        padding: 40px 0;
    }

    .page-title-content h2 {
        font-size: 28px;
    }

    .page-title-content ul {
        font-size: 14px;
    }

    .contact-form-action {
        margin: 0 10px;
        padding: 20px;
    }

    .register-highlight {
        padding: 20px;
    }

    .highlight-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .mini-card {
        padding: 12px;
    }

    .social-btn {
        padding: 10px 12px;
        font-size: 13px;
        height: 42px;
    }

    .form-control {
        padding: 8px 12px;
        height: 42px;
    }
}

@media (max-width: 576px) {
    .social-login-section .row.g-3 {
        --bs-gutter-y: 0.75rem;
    }

    .col-sm-6 {
        width: 50%;
    }

    .contact-form-action {
        padding: 15px;
    }

    .register-highlight {
        padding: 15px;
    }

    .form-title {
        font-size: 22px;
    }

    .form-desc {
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
        height: 44px;
    }
}

/* Row Spacing */
.row.g-4 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

.row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-action {
    animation: fadeIn 0.5s ease-out;
}

/* Helper Classes */
.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.d-none {
    display: none !important;
}

.text-primary {
    color: #667eea !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.bg-primary-subtle {
    background-color: rgba(102, 126, 234, 0.1) !important;
}

.bg-success-subtle {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.form-height {
    margin-bottom: -25px !important;
}