/* Layout & Structure Styles */

/* Checkout Page Layout Override */
#brx-content {
    width: auto !important;
    margin: initial !important;
}

/* CSS Variables - Global Design System */
:root {
    --osp-box-background: #07132aad;
    --osp-border-color: #3a486359;
    --osp-border-radius: 12px;
    --osp-border-width: 2px;
    --osp-divider-color: #3a4863ba;
    --osp-primary-color: #1aa0ee;
    --osp-secondary-color: #0056b3;
    --osp-input-background: #19202e;
    --osp-input-border-color: #ffffff1f;
    --wc-red: #ff9595;
}

/* Main wrapper */
.osp-3sc-checkout-wrapper {
    max-width: 1340px;
    margin: 0 auto;
    padding: 20px;
}

.woocommerce-checkout #brx-footer {
    margin-top: 100px;
}

/* Simplified Checkout Footer */
.osp-3sc-checkout-footer {
    margin-top: 80px;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.osp-3sc-footer-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.osp-3sc-footer-logo img {
    width: 180px;
    height: auto;
}

.osp-3sc-footer-payments {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.osp-3sc-footer-payments svg {
    height: 24px;
    width: 40px;
    opacity: 0.7;
}

/* Middle 3 icons (Discover, Apple Pay, Google Pay) slightly bigger */
.osp-3sc-footer-payments svg:nth-child(4),
.osp-3sc-footer-payments svg:nth-child(5),
.osp-3sc-footer-payments svg:nth-child(6) {
    height: 28px;
    width: 46px;
}

/* Last 3 icons (PayPal, Bitcoin, Ethereum) smaller */
.osp-3sc-footer-payments svg:nth-child(7),
.osp-3sc-footer-payments svg:nth-child(8),
.osp-3sc-footer-payments svg:nth-child(9) {
    height: 20px;
    width: 34px;
}

.osp-3sc-footer-security {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #93c841;
    font-size: 13px;
}

.osp-3sc-footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.osp-3sc-footer-legal li {
    list-style: none;
}

.osp-3sc-footer-legal a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    text-decoration: none;
}

.osp-3sc-footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.osp-3sc-footer-company {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

@media (max-width: 477px) {
    .osp-3sc-checkout-footer {
        padding-bottom: 100px;
    }
    .osp-3sc-footer-payments {
        gap: 10px;
    }
    .osp-3sc-footer-payments svg {
        height: 20px;
        width: 34px;
    }
    .osp-3sc-footer-payments svg:nth-child(4),
    .osp-3sc-footer-payments svg:nth-child(5),
    .osp-3sc-footer-payments svg:nth-child(6) {
        height: 23px;
        width: 38px;
    }
    .osp-3sc-footer-payments svg:nth-child(7),
    .osp-3sc-footer-payments svg:nth-child(8),
    .osp-3sc-footer-payments svg:nth-child(9) {
        height: 17px;
        width: 28px;
    }
}

/* Checkout Page Header */
.osp-3sc-checkout-header {
    text-align: center;
    margin: 30px 0 60px 0;
}

.osp-3sc-main-headline {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.osp-3sc-main-subtitle {
    font-size: 18px;
    color: #cccccc;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Checkout Container - Two Column Layout */
.osp-3sc-checkout-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

.osp-3sc-main-content {
    flex: 1;
    background: var(--osp-box-background);
    border-radius: var(--osp-border-radius);
    padding: 50px;
    border: var(--osp-border-width) solid var(--osp-border-color);
}



/* Step Progress Indicator */
.osp-3sc-step-progress {
    margin-bottom: 40px;
    padding: 20px 10px;
    background: var(--osp-box-background);
    border-radius: var(--osp-border-radius);
    border: var(--osp-border-width) solid var(--osp-border-color);
    border-width: 1px;
}

.osp-3sc-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    gap: 20px;
}

.osp-3sc-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.osp-3sc-step:hover {
    transform: translateY(-2px);
}

.osp-3sc-step.active {
    transform: scale(1.1);
}

.osp-3sc-step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #323b4d;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Show number by default, hide checkmark */
.osp-3sc-step-number .step-number {
    display: block;
}

.osp-3sc-step-number .step-checkmark {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.osp-3sc-step-number .step-checkmark svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* When step is completed, show checkmark and hide number */
.osp-3sc-step.completed .osp-3sc-step-number .step-number {
    display: none;
}

.osp-3sc-step.completed .osp-3sc-step-number .step-checkmark {
    display: flex;
}

.osp-3sc-step.completed .osp-3sc-step-number {
    background: var(--osp-secondary-color);
    color: white;
    border-color: var(--osp-secondary-color);
}

.osp-3sc-step.active .osp-3sc-step-number {
    background: var(--osp-secondary-color);
    color: white;
    border-color: var(--osp-secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.2);
}

.osp-3sc-step-title {
    font-size: 15px;
    font-weight: 500;
    color: #999;
    white-space: nowrap;
}

.osp-3sc-step.active .osp-3sc-step-title {
    color: #ffffff;
    font-weight: 600;
}

/* Disabled step styling */
.osp-3sc-step.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.osp-3sc-step.disabled:hover {
    transform: none;
}

.osp-3sc-step.disabled .osp-3sc-step-number {
    background: #333;
    color: #666;
    border-color: #333;
    opacity: 0.3;
}

.osp-3sc-step.disabled .osp-3sc-step-title {
    color: #666;
    opacity: 0.3;
}

.osp-3sc-step-separator {
    flex: 1;
    height: 2px;
    background: #323b4d;
    transition: all 0.3s ease;
    align-self: center;
}

.osp-3sc-step-separator.completed {
    background: var(--osp-secondary-color);
}

/* Step Content */
.osp-3sc-step-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.osp-3sc-step-content.active {
    display: block;
}

.osp-3sc-step-content.hidden {
    display: none;
}

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

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

.osp-3sc-step-header {
    text-align: left;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--osp-divider-color);
}

.osp-3sc-step-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.osp-3sc-step-header p {
    font-size: 15px;
    color: #ffffffa3;
    margin: 0;
}