/* Register Page Specific Styles */


/* Alert styles */

.register-alert-danger {
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 0.8rem;
}


/* Hero section styles */

.hero {
    min-height: 100vh !important;
    padding-top: 80px !important;
    background: linear-gradient(90deg, #46b8da, #5bc0de, #0d6efd);
}


/* Register card styles */

.register-card {
    margin: 50px 10px !important;
    padding: 20px 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 1.5rem !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(70, 184, 218, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.gradient-border {
    padding: 15px !important;
    margin-top: 20px !important;
    background-image: url('../images/sky_high.webp');
    background-repeat: repeat;
    background-size: auto;
}


/* Encouragement card styles */

.encouragement-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 1.5rem !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(70, 184, 218, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.encouragement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(70, 184, 218, 0.25) !important;
}


/* Encouragement section styles for better text visibility */

.encouragement-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.feature-highlight {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.8rem;
    border: 1px solid rgba(70, 184, 218, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-highlight:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(70, 184, 218, 0.2);
}

.feature-highlight h6 {
    color: #517292 !important;
    margin-bottom: 0.5rem;
}

.feature-highlight p {
    color: #6c757d !important;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.call-to-action {
    background: linear-gradient(135deg, rgba(70, 184, 218, 0.1), rgba(91, 192, 222, 0.1));
    border-radius: 0.8rem;
    padding: 1.5rem;
    border: 2px solid rgba(70, 184, 218, 0.2);
}

.call-to-action h5 {
    color: var(--primary) !important;
    text-shadow: none;
}

.call-to-action p {
    color: #495057 !important;
    text-shadow: none;
}

.badge.bg-light {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #495057 !important;
    border: 1px solid rgba(70, 184, 218, 0.3);
    font-weight: 500;
}


/* Additional feature highlights - smaller version */

.feature-highlight-small {
    text-align: center;
    padding: 0.8rem 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.6rem;
    border: 1px solid rgba(70, 184, 218, 0.15);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-highlight-small:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 184, 218, 0.15);
}

.feature-highlight-small h6 {
    color: #517292 !important;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.feature-highlight-small p {
    color: #6c757d !important;
    margin-bottom: 0;
    font-size: 0.8rem;
}


/* Platform integrations */

.integrations-section {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 0.8rem;
    padding: 1.5rem;
    border: 1px solid rgba(70, 184, 218, 0.1);
}

.integration-item {
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.6rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 80px;
}

.integration-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.integration-item span {
    color: #495057 !important;
    font-weight: 500;
}


/* Statistics section */

.stat-item {
    text-align: center;
    padding: 0.8rem 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.6rem;
    border: 1px solid rgba(70, 184, 218, 0.1);
}

.stat-item h6 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.stat-item small {
    font-size: 0.75rem;
    color: #6c757d !important;
    font-weight: 500;
}


/* Testimonial section */

.testimonial-section {
    background: linear-gradient(135deg, rgba(70, 184, 218, 0.05), rgba(91, 192, 222, 0.05));
    border-radius: 0.8rem;
    padding: 1.5rem;
    border: 1px solid rgba(70, 184, 218, 0.1);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.8rem;
    padding: 1.2rem;
    border: 1px solid rgba(70, 184, 218, 0.2);
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card h6 {
    color: #2c3e50 !important;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: #495057 !important;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* Mobile responsive for encouragement section */

@media (max-width: 768px) {
    .encouragement-section {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }
    .feature-highlight {
        margin-bottom: 1rem;
        padding: 0.8rem;
    }
    .feature-highlight-small {
        margin-bottom: 0.8rem;
        padding: 0.6rem 0.4rem;
    }
    .integrations-section {
        padding: 1rem;
    }
    .integration-item {
        padding: 0.6rem;
        min-width: 70px;
        margin-bottom: 0.5rem;
    }
    .integration-item i {
        font-size: 1.5rem !important;
    }
    .testimonial-section {
        padding: 1rem;
    }
    .testimonial-card {
        padding: 1rem;
    }
    .stat-item {
        padding: 0.6rem 0.3rem;
        margin-bottom: 0.8rem;
    }
    .call-to-action {
        padding: 1rem;
    }
    .call-to-action h5 {
        font-size: 1.1rem;
    }
    .badge.bg-light {
        font-size: 0.8rem;
        margin: 0.2rem;
        padding: 0.4rem 0.8rem;
    }
}


/* Ensure proper column ordering on mobile */

.register-form-container {
    order: 1;
}

.welcome-section {
    order: 2;
}

@media (min-width: 769px) {
    .register-form-container {
        order: 0;
    }
    .welcome-section {
        order: 0;
    }
}


/* Mobile responsive adjustments for register page */

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0 !important;
        min-height: auto !important;
    }
    .register-card .card-body {
        padding: 2rem 1.5rem !important;
    }
    .register-card h3 {
        font-size: 1.5rem !important;
    }
    .welcome-section {
        padding: 1rem !important;
        margin-top: 2rem !important;
        order: 2;
    }
    .welcome-section h2 {
        font-size: 1.8rem !important;
    }
    .welcome-section p {
        font-size: 1rem !important;
    }
    .register-form-container {
        order: 1;
    }
    .register-form-control {
        font-size: 16px !important;
    }
    .btn {
        padding: 12px 16px !important;
        font-size: 1rem !important;
    }
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
}


/* Custom focus states for better accessibility */

.register-form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(70, 184, 218, 0.25) !important;
    outline: none !important;
}


/* Enhanced button hover effects */

.register-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(70, 184, 218, 0.4);
}

.register-login-btn:hover {
    transform: translateY(-1px);
}


/* Logo styles */

.register-logo {
    width: 60px;
    margin-bottom: 20px;
}


/* Card title styles */

.register-card-title {
    color: var(--primary);
    font-weight: 700;
}


/* Form label styles */

.register-form-label {
    color: var(--dark);
    font-weight: 600;
}


/* Form control styles */

.register-form-control {
    border-radius: 0.8rem;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}


/* Submit button styles */

.register-submit-btn {
    border-radius: 0.8rem;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}


/* Divider styles */

.register-divider {
    color: #e9ecef;
}

.register-divider-text {
    font-size: 0.9rem;
}


/* Login button styles */

.register-login-btn {
    border-radius: 0.8rem;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}


/* Additional links section */

.register-additional-links {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}


/* Welcome section styles */

.welcome-section-title {
    color: rgb(200, 239, 255);
}

.welcome-section-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0.5px 0.5px 0.5px rgb(0, 0, 0);
}

.welcome-section-logo {
    width: 120px;
    margin-bottom: 20px;
}

.welcome-section-subtitle {
    color: rgb(200, 239, 255);
    margin-bottom: 20px;
}

.welcome-section-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}


/* Smooth transitions for all interactive elements */

.register-submit-btn,
.register-login-btn,
.register-form-control,
.register-card {
    transition: all 0.3s ease !important;
}


/* Loading state for form submission */

.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}


/* English text alignment */

.form-label {
    text-align: left;
}

.alert {
    text-align: left;
}


/* Ensure proper layout */

.text-center {
    text-align: center !important;
}


/* Custom scrollbar for webkit browsers */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}


/* Remove footer transitions on register page */

footer {
    transition: none !important;
}

footer * {
    transition: none !important;
}

footer a {
    transition: none !important;
}


/* Card interaction standards - hover and touch support */

.register-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(70, 184, 218, 0.3) !important;
}


/* Touch interaction support */

.register-card:active {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(70, 184, 218, 0.2) !important;
}


/* Enhanced button interactions */

.register-submit-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(70, 184, 218, 0.3);
}

.register-login-btn:active {
    transform: translateY(0px);
}