/* Overall layout */
.order-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

.order-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 32px 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E7EB;
}

/* Columns */
.order-summary {
    flex: 1 1 320px;
    min-width: 0;
}

.order-form {
    flex: 1 1 360px;
    min-width: 0;
}

/* Summary side/status pills */
.order-summary-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.order-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Side pill uses Bitstamp green */
.order-pill--side {
    background: #03FC9D;
    color: #003B2F;
}

/* Status pill: subtle neutral */
.order-pill--status {
    background: #F3F4F6;
    color: #374151;
}

.order-id {
    margin-left: auto;
    font-size: 11px;
    color: #9CA3AF;
}

/* Title / subtitle */
.order-title {
    font-size: 26px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.order-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
}

/* Summary list */
.order-summary-list {
    margin: 0 0 20px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(209, 213, 219, 0.9);
}

.order-summary-row:last-child {
    border-bottom: none;
}

.order-summary-row dt {
    font-size: 13px;
    color: #6B7280;
}

.order-summary-row dd {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.order-summary-rate dd {
    color: #047857; /* darker green for rate highlight */
}

/* Hint text */
.order-hint {
    margin-top: 18px;
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.5;
}

/* FORM CARD */
.order-form-card {
    background:
            radial-gradient(circle at top left, rgba(3, 252, 157, 0.10), transparent 55%),
            radial-gradient(circle at bottom right, rgba(0, 59, 47, 0.08), transparent 55%),
            #FFFFFF;
    border-radius: 24px;
    padding: 24px 24px 26px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.order-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.order-form-subtitle {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 18px;
}

/* Form fields */
.order-form-group label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
}

.order-form-group .form-control {
    background-color: #FFFFFF;
    border-color: #D1D5DB;
    color: #111827;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
}

.order-form-group textarea.form-control {
    border-radius: 16px;
}

/* Hover / focus states */
.order-form-group .form-control::placeholder {
    color: #9CA3AF;
}

.order-form-group .form-control:focus {
    background-color: #FFFFFF;
    border-color: #03FC9D;
    box-shadow: 0 0 0 0.15rem rgba(3, 252, 157, 0.35);
}

/* Buttons */
.order-form-actions .btn {
    min-width: 120px;
}

.order-form-actions .btn-outline-secondary {
    border-radius: 999px;
    border-color: #D1D5DB;
    color: #374151;
    background-color: #FFFFFF;
}

.order-form-actions .btn-outline-secondary:hover {
    background-color: #F3F4F6;
}

/* Primary button with Bitstamp green */
.order-form-actions .btn-primary {
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #03FC9D, #00C97A);
    color: #003B2F;
    font-weight: 600;
}

/* PHONE INPUT – light style */

/* Container full width */
.order-form-card .phone-input,
.order-form-card .iti {
    width: 100%;
}

/* Base input look */
.order-form-card .iti input[type="tel"],
.order-form-card .phone-input input[type="tel"],
.order-form-card .iti--separate-dial-code input[type="tel"] {
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    color: #111827;
    border-radius: 999px;
    padding: 6px 14px;
    padding-left: 80px; /* space for flag + code */
    font-size: 14px;
    height: auto;
    line-height: 1.5;
    box-shadow: none;
}

/* Placeholder color */
.order-form-card .iti input::placeholder {
    color: #9CA3AF;
}

/* Flag area */
.order-form-card .iti__flag-container {
    background: #F9FAFB;
    border-radius: 999px 0 0 999px;
    border: 1px solid #D1D5DB;
    border-right: none;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Selected flag block */
.order-form-card .iti__selected-flag {
    background-color: transparent;
    padding: 0 10px;
}

/* Arrow color */
.order-form-card .iti__arrow {
    border-top-color: rgba(55, 65, 81, 0.8);
}

/* Focus state */
.order-form-card .iti input[type="tel"]:focus {
    background-color: #FFFFFF;
    border-color: #03FC9D;
    box-shadow: 0 0 0 0.15rem rgba(3, 252, 157, 0.35);
    outline: none;
}

.iti--separate-dial-code .iti__selected-dial-code {
    color: #111827;
    font-size: 14px;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .order-layout {
        padding: 22px 20px;
    }

    .order-form-card {
        margin-top: 8px;
    }
}

@media (max-width: 575.98px) {
    .order-title {
        font-size: 22px;
    }

    .order-page {
        padding-top: 20px;
    }
}

/* REVIEW PAGE */

.order-review-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Main card */
.order-review-card {
    margin: 0 auto;
    background:
            radial-gradient(circle at top left, rgba(3, 252, 157, 0.10), transparent 55%),
            radial-gradient(circle at bottom right, rgba(0, 59, 47, 0.08), transparent 55%),
            #FFFFFF;
    border-radius: 24px;
    padding: 28px 32px 28px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

/* Header text */
.order-review-title {
    font-size: 26px;
    font-weight: 600;
    color: #111827;
}

.order-review-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

/* Layout – two columns on desktop */
.order-review-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.order-review-column {
    flex: 1 1 320px;
    min-width: 0;
}

/* Section titles */
.order-review-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B7280;
    margin-bottom: 10px;
}

/* Right column details list */
.order-review-details {
    background: #F9FAFB;
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid #E5E7EB;
}

.order-review-details-row {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(209, 213, 219, 0.9);
}

.order-review-details-row:last-child {
    border-bottom: none;
}

.order-review-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
    margin-bottom: 2px;
}

.order-review-value {
    font-size: 14px;
    color: #111827;
    word-break: break-word;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .order-review-card {
        padding: 22px 18px 24px;
        border-radius: 22px;
    }

    .order-review-title {
        font-size: 22px;
    }

    .order-review-layout {
        gap: 20px;
    }
}

/* Processing check icon */
.order-status-check {
    color: #03FC9D;
}