:root {
    --primary: #6a5acd;
    --primary-light: #8677e0;
    --client: #4dabf7;
    --freelancer: #ff6b6b;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --dark: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--primary);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
    background-color: #7a74da;
    overflow: hidden;
    top: 0;
    z-index: 100;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    /* Increased shadow for more detachment */
    margin: 1rem auto;
    /* Center the navbar horizontally */
    max-width: 1200px;
    /* Limit the width to prevent overflow on large screens */
}

.navbar a {
    float: none;
    font-size: 1.5rem;
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    margin: 0 auto;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    color: #b6f5e5;
    transform: translateY(-2px);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 200px;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #4e4157);
    filter: brightness(0) invert(1);
}

.register-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    margin-top: 2rem;
}

.register-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.register-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.register-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.register-body {
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.role-selection {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.role-option {
    position: relative;
    width: 200px;
    text-align: center;
    flex-shrink: 0;
}

.role-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.role-card {
    background-color: var(--gray-light);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 160px;
    width: 100%;
}

.freelancer-card:hover {
    background-color: rgba(255, 107, 107, 0.1);
    border-color: var(--freelancer);
}

.employer-card:hover {
    background-color: rgba(77, 171, 247, 0.1);
    border-color: var(--client);
}

.client-card:hover {
    background-color: rgba(77, 171, 247, 0.1);
    border-color: var(--client);
}

input[type="radio"]:checked+.freelancer-card {
    background-color: rgba(255, 107, 107, 0.2);
    border-color: var(--freelancer);
    box-shadow: 0 8px 15px rgba(255, 107, 107, 0.2);
}

input[type="radio"]:checked+.employer-card {
    background-color: rgba(77, 171, 247, 0.2);
    border-color: var(--client);
    box-shadow: 0 8px 15px rgba(77, 171, 247, 0.2);
}

input[type="radio"]:checked+.client-card {
    background-color: rgba(77, 171, 247, 0.2);
    border-color: var(--client);
    box-shadow: 0 8px 15px rgba(77, 171, 247, 0.2);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
}

.freelancer-icon {
    color: var(--freelancer);
}

.employer-icon {
    color: var(--client);
}

.client-icon {
    color: var(--client);
}

.role-label {
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.25);
}

.form-group select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

optgroup {
    font-weight: bold;
    color: #374151;
}

optgroup option {
    font-weight: normal;
    color: #6b7280;
    padding-left: 1rem;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1rem;
}


/* Fix for employer type selection on white background */
.employer-type-selection {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.sub-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 500;
}

.employer-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.employer-option {
    position: relative;
    width: 200px;
}

.employer-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.employer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
    justify-content: center;
    text-decoration: none;
}

.individual-card:hover {
    background-color: rgba(77, 171, 247, 0.1);
    border-color: var(--client);
}

.business-card:hover {
    background-color: rgba(106, 90, 205, 0.1);
    border-color: var(--primary);
}

.employer-option input[type="radio"]:checked+.individual-card {
    background-color: rgba(77, 171, 247, 0.2);
    border-color: var(--client);
    box-shadow: 0 8px 15px rgba(77, 171, 247, 0.2);
    transform: translateY(-3px);
}

.employer-option input[type="radio"]:checked+.business-card {
    background-color: rgba(106, 90, 205, 0.2);
    border-color: var(--primary);
    box-shadow: 0 8px 15px rgba(106, 90, 205, 0.2);
    transform: translateY(-3px);
}

.employer-sub-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark);
    display: block;
}

.employer-sub-label {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    display: block;
}

.employer-card small {
    color: var(--gray);
    font-size: 0.8rem;
    line-height: 1.3;
    display: block;
    margin-top: 5px;
}

/* Antipolo Residency Confirmation */
.antipolo-residency-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #1a2a6c;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1a2a6c;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #1a2a6c;
    cursor: pointer;
    margin: 0;
}

.residency-note {
    font-size: 0.85rem;
    color: #555;
    margin: 0.5rem 0 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.residency-note i {
    color: #1a2a6c;
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-block {
    display: block;
    width: 100%;
}

.text-center {
    text-align: center;
}

.form-footer {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding: 0;
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
}

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

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

/* Form row for side-by-side inputs */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

/* Terms and Conditions Modal */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.terms-modal-content {
    background-color: #fff;
    margin: 2% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.terms-modal-header {
    background: linear-gradient(135deg, #6a5acd 0%, #8677e0 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-close-btn:hover {
    transform: scale(1.2);
}

.terms-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
    color: #333;
}

.terms-intro {
    margin-bottom: 1.5rem;
}

.terms-intro p {
    margin-bottom: 0.5rem;
}

.terms-highlight {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.terms-section {
    margin-bottom: 1.5rem;
}

.terms-section h3 {
    color: #6a5acd;
    border-bottom: 2px solid #6a5acd;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.terms-section h4 {
    color: #555;
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
}

.terms-section p {
    margin-bottom: 0.75rem;
}

.terms-section ul {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

.terms-modal-footer {
    background-color: #f8f9fa;
    padding: 1.25rem 2rem;
    border-radius: 0 0 12px 12px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    min-height: 100px;
}

.scroll-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #6a5acd;
    animation: bounce 2s infinite;
}

.scroll-notice i {
    font-size: 1.5rem;
}

.scroll-notice p {
    margin: 0;
    font-weight: 500;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.terms-agreement-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.modal-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid #6a5acd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-checkbox-wrapper:hover {
    background-color: #f8f4ff;
    box-shadow: 0 2px 8px rgba(106, 90, 205, 0.2);
}

.modal-checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #6a5acd;
}

.modal-checkbox-label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #333;
}

.modal-checkbox-label i {
    color: #6a5acd;
}

.btn-accept {
    background: linear-gradient(135deg, #6a5acd 0%, #8677e0 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
}

.btn-accept:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(106, 90, 205, 0.4);
}

.btn-accept:active:not(:disabled) {
    transform: translateY(0);
}

.btn-accept:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .role-selection {
        flex-direction: column;
        align-items: center;
    }

    .employer-options {
        flex-direction: column;
        align-items: center;
    }

    .employer-option {
        width: 100%;
        max-width: 300px;
    }

    .form-row {
        flex-direction: column;
    }

    .skills-category-items {
        grid-template-columns: 1fr;
    }

    .skills-selection-register {
        max-height: 300px;
    }

    .terms-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }

    .terms-modal-header {
        padding: 1rem;
    }

    .terms-modal-header h2 {
        font-size: 1.2rem;
    }

    .terms-modal-body {
        padding: 1rem;
    }

    .terms-modal-footer {
        padding: 1rem;
    }

    .terms-section h3 {
        font-size: 1.1rem;
    }

    .modal-checkbox-wrapper {
        padding: 0.75rem;
        width: 100%;
    }

    .modal-checkbox-label {
        font-size: 0.9rem;
    }

    .btn-accept {
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .scroll-notice p {
        font-size: 0.9rem;
    }
}

/* Skills Selection Styles for Registration */
#skills-group {
    margin-bottom: 1.5rem;
}

.skills-selection-register {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
    margin-top: 10px;
    width: 100%;
}

.skills-category-group {
    margin-bottom: 20px;
}

.skills-category-group:last-child {
    margin-bottom: 0;
}

.skills-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a6c;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
}

.skills-category-title::before {
    content: '▶';
    margin-right: 8px;
    font-size: 0.8rem;
    color: #6c757d;
}

.skills-category-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    padding-left: 10px;
}

.skill-checkbox-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 10px;
    background: white;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}

.skill-checkbox-item>div:first-child {
    display: flex;
    align-items: center;
    width: 100%;
}

.skill-checkbox-item:hover {
    background: #e3f2fd;
    transform: translateX(2px);
}

.skill-checkbox-item input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #1a2a6c;
}

.skill-checkbox-item label {
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
    margin: 0;
    user-select: none;
    flex: 1;
}

.skill-checkbox-item input[type="checkbox"]:checked+label {
    font-weight: 600;
    color: #1a2a6c;
}

.experience-dropdown {
    width: 100%;
    margin-top: 8px;
    padding-left: 24px;
}

.experience-dropdown select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.85rem;
    background-color: #f8f9fa;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}

.experience-dropdown select:focus {
    outline: none;
    border-color: #1a2a6c;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

/* Scrollbar styling for skills selection */
.skills-selection-register::-webkit-scrollbar {
    width: 8px;
}

.skills-selection-register::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.skills-selection-register::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.skills-selection-register::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile responsive for skills - merged with main media query above */

@media (max-width: 480px) {
    .employer-options {
        gap: 1rem;
    }

    .employer-option {
        width: 100%;
    }

    .skills-category-title {
        font-size: 0.9rem;
    }

    .skill-checkbox-item label {
        font-size: 0.85rem;
    }
}

/* Password Strength Meter */
.password-strength-container {
    margin-top: 5px;
}

.password-strength-meter {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.75rem;
    margin-top: 3px;
    display: block;
    font-weight: 500;
    text-align: right;
    min-height: 18px;
}

/* Wizard Styles for Freelancer Registration */
.wizard-steps {
    display: none;
    /* Hidden by default, shown for freelancer */
    margin-bottom: 2rem;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    background: #fff;
    width: 30px;
    /* Width of the circle background to cover line */
}

.step-circle {
    width: 30px;
    height: 30px;
    background: #e9ecef;
    color: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.step-item.active .step-circle {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(106, 90, 205, 0.2);
}

.step-item.completed .step-circle {
    background: #28a745;
    color: white;
}

.step-label {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
    color: #6c757d;
    font-weight: 500;
}

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

.form-step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step-content.active {
    display: block;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.btn-wizard {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}

.btn-prev:hover {
    background: #dee2e6;
}

.btn-next {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-next:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Custom Skill Input Styles */
.custom-skill-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: flex-end;
}

.custom-skill-field {
    flex: 2;
}

.custom-skill-duration {
    flex: 1;
}

.btn-add-skill {
    background: #28a745;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-skill:hover {
    background: #218838;
}

.added-skills-list {
    margin-bottom: 20px;
}

.added-skill-tag {
    display: inline-flex;
    align-items: center;
    background: #e3f2fd;
    color: #0d47a1;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 5px;
    font-size: 14px;
    border: 1px solid #bbdefb;
}

.remove-skill-btn {
    margin-left: 8px;
    cursor: pointer;
    color: #dc3545;
    font-weight: bold;
}

.terms-inline {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9em;
}

.terms-summary-list {
    margin: 10px 0;
    padding-left: 20px;
    font-size: 0.9em;
    color: #856404;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skill Toggle Button Styles */
.btn-group {
    display: inline-flex;
    gap: 10px;
    /* Space between buttons */
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    /* Individual border */
    border-radius: 5px;
    /* Individual radius */
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: rgba(106, 90, 205, 0.1);
}

.btn-outline-primary.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(106, 90, 205, 0.3);
}

/* Terms Scroll Box Styles */
.terms-scroll-container {
    height: 150px;
    overflow-y: scroll;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #495057;
}

.terms-scroll-container h3 {
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #343a40;
}

.terms-agreement-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-agreement-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.terms-agreement-wrapper label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}