/**
 * Author: Emmanuel Kwami Tartey
 * Date: 11 Sep, 2025
 * Time: 11:27 PM
 * Project: cama
 * github: https://github.com/mal33k-eden
*/

:root {
    --primary-dark: #0A566E;
    --primary: #1DB9CE;
    --primary-light: #4CF4E2;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
}

.registration-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.registration-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
}

.row {
    min-height: 600px;
}

/* Marketing Section */
.marketing-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.marketing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 244, 226, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.logo i {
    margin-right: 15px;
    color: var(--primary-light);
}

.marketing-content {
    z-index: 1;
}

.marketing-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.marketing-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.feature-list i {
    color: var(--primary-light);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Form Section */
.form-section {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light-gray);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray);
}

/* Progress Bar at Top */
.progress-wrapper-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0;
    background: var(--white);
    border-bottom: 1px solid #E0E0E0;
}

.progress {
    height: 4px;
    background-color: #E0E0E0;
    border-radius: 0;
    overflow: visible;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: width 0.3s ease;
    position: relative;
}

.step-dots {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px 10px;
}

.step-dot {
    width: 12px;
    height: 12px;
    background: #E0E0E0;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.step-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(29, 185, 206, 0.2);
}

.step-dot.completed {
    background: var(--primary-light);
}

/* Adjust form section to account for top progress bar */
.form-section {
    position: relative;
    padding-top: 70px !important;
}

/* Form Elements */
.form-step {
    animation: fadeIn 0.3s ease;
}

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

.form-group {
    margin-bottom: 20px;
}

/* Optimize height for name step */
.form-step .row .form-group.mb-3 {
    margin-bottom: 1rem !important;
}

.form-label {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(29, 185, 206, 0.25);
}

/* Suggestions */
.suggestions-section {
    margin-bottom: 20px;
}

.suggestions-buttons {
    margin-top: 10px;
}

.suggestion-pill {
    display: inline-block;
    padding: 4px 12px;
    margin: 4px 6px 4px 0;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(29, 185, 206, 0.1);
    color: var(--primary);
    border: 1px solid rgba(29, 185, 206, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.suggestion-pill:hover {
    background: rgba(29, 185, 206, 0.15);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.suggestion-pill:active {
    background: var(--primary);
    color: var(--white);
    transform: translateY(0);
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 185, 206, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.success-message i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.success-message h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .marketing-section {
        display: none;
    }

    .form-section {
        padding: 30px 20px;
    }

    .logo-mobile {
        display: block;
        text-align: center;
        color: var(--primary-dark);
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (min-width: 769px) {
    .logo-mobile {
        display: none;
    }
}

/* Job Listings Specific Styles */
.job-listings-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    min-height: 600px;
}

.job-card-compact {
    background: var(--white);
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.job-card-compact:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(29, 185, 206, 0.15);
    transform: translateY(-2px);
}

.job-listings-container {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.job-listings-container .row {
    margin: 0;
}

.job-listings-container::-webkit-scrollbar {
    width: 6px;
}

.job-listings-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.job-listings-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.job-listings-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Compact pagination styles for job listings */
.pagination .page-link {
    border: 1px solid rgba(29, 185, 206, 0.3);
    color: var(--primary);
    margin: 0 2px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: rgba(29, 185, 206, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--primary);
    color: var(--white);
}

/* Responsive adjustments for job listings */
@media (max-width: 1199.98px) {
    .job-listings-container {
        max-height: 550px;
    }
}

@media (max-width: 991.98px) {
    .job-listings-container {
        max-height: 500px;
    }

    .job-card-compact {
        padding: 15px;
    }

    .job-listings-card .form-section {
        padding: 30px !important;
    }
}

@media (max-width: 767.98px) {
    .job-listings-container {
        max-height: 450px;
    }

    .job-card-compact {
        padding: 12px;
    }

    .job-listings-card .form-section {
        padding: 20px !important;
    }

    .job-card-compact .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }

    .job-card-compact .text-end {
        text-align: left !important;
    }
}


.no-row-h-gap {
    min-height: unset !important;
}