/* Inheriting common styles from review.css */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway';
    font-size: 14px;
    padding: 20px 50px;
}

.breadcrumb a {
    color: #5C5F6A;
    text-decoration: none;
}

.breadcrumb .current {
    color: #0E1422;
    font-weight: 500;
}

.checkout-title {
    margin-left: 90px;
    margin-top: 20px;
    width: 105px;
    position: relative;
    font-size: 20px;
    letter-spacing: 0.02em;
    line-height: 175%;
    display: inline-block;
    font-family: 'Montserrat';
    color: #161616;
    text-align: left;
}
/* Progress Steps Styles */
.bars-nav-bars-large {
    background-color: #fff;
    width: 100%;
    padding: 20px;
    margin-bottom: 50px;
    border-radius: 20px;
}

.steps {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

/* Common Step Styles */
.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
}

.step-circle {
    position: relative;
    width: 24px;
    height: 24px;
}

.circle-border {
    position: absolute;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.step-number {
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway';
    font-weight: 500;
}

.step-text {
    font-family: 'Raleway';
    font-size: 14px;
}

.step-arrow {
    width: 19px;
    height: auto;
    opacity: 0.5;
}

/* Completed (Address) Step */
.step-completed {
    opacity: 1;
}

.step-completed .circle-border {
    border: 2px solid #458140;
    background-color: transparent;
}

.step-completed .step-number {
    color: #458140;
    font-size: 16px;
}

.step-completed .step-text {
    color: #458140;
    font-weight: 500;
}

/* Active (Review) Step */
.step-active {
    opacity: 1;
}

.step-active .circle-border {
    border: 2px solid #000000;
}

.step-active .step-number {
    color: #000000;
}

.step-active .step-text {
    color: #000000;
    font-weight: 600;
}

/* Payment Content Styles */
.payment-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.payment-methods {
    background: #fff;
    padding: 30px;
    width: 55%;
}

.payment-methods h3 {
    position: relative;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Montserrat';
    color: #161616;
    text-align: left;
    margin-bottom: 24px;
}

.payment-methods .more-options {
    margin-top: 40px;
}

/* Order Summary Styles */
.order-summary {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    width: 40%;
}

.summary-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #dbdbdb;
    margin-bottom: 16px;
    padding-top: 16px;
    font-family: 'Raleway';
    font-size: 14px;
    color: #161616;
}

.summary-row span {
    font-family: 'Raleway';
}

.total-text {
    display: flex;
    flex-direction: column;
}

.total-text span {
    font-family: 'Raleway';
}

.vat-text {
    font-size: 12px;
    color: #777777;
}

.total-amount {
    color: #458140;
    font-weight: 700;
    font-family: 'Raleway';
}

/* Payment Method Styles */
.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    margin-bottom: 16px;
    cursor: pointer;
    background: #FFFFFF;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.payment-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}


.payment-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-name {
    font-family: 'Raleway';
    font-size: 14px;
    font-weight: 500;
    color: #161616;
    margin-right: 8px;
}

.info-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.card-number {
    font-family: 'Raleway';
    font-size: 14px;
    color: #777777;
    letter-spacing: 1px;
}

.cvv-wrapper {
    position: relative;
    width: 95px;
    margin-top: 4px;
}

.cvv-input {
    width: 100%;
    padding: 4px 0;
    font-family: 'Raleway';
    font-size: 14px;
    color: #777777;
    background: transparent;
    border: none;
    border-bottom: 1px solid #E5E5E5;
}

.cvv-input::placeholder {
    color: #777777;
    font-size: 14px;
    font-family: 'Raleway';
}

.cvv-info-icon {
    position: absolute;
    left: 185%;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.card-icon {
    width: 32px;
    height: auto;
    margin-top: 4px;
}

.payment-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.payment-method  img{
    width: 24px;
    height: 24px;
}

.method-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.method-left img{
    width: 32px;
    height: 32px;
}



.payment-method span {
    font-family: 'Raleway';
    font-size: 14px;
    color: #161616;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* Continue Button */
.continue-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-family: 'Raleway';
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

/* Radio Button Styles */
input[type="radio"] {
    width: 24px;
    height: 24px;
    border: 2px solid #E5E5E5;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-top: 4px;
}

input[type="radio"]:checked {
    border: 2px solid #161616;
}

input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #161616;
    border-radius: 50%;
}

/* Hover state */
input[type="radio"]:hover {
    border-color: #161616;
}

/* Arrow Styles */
.step-arrow {
    width: 19px;
    height: auto;
    opacity: 0.5;
}

/* Make arrows after completed steps green */
.step-completed + .step-arrow {
    opacity: 1;
    filter: invert(45%) sepia(82%) saturate(385%) hue-rotate(86deg) brightness(95%) contrast(88%);
}
