.order-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #EEEEEE;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;

    &:hover {
        border-color: #DDDDDD;
    }

    .order-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;

        .order-status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 16px;
            font-weight: 500;
            white-space: nowrap;
        }

        .order-info-top {
            display: flex;
            flex-direction: column;
            gap: 4px;

            .order-label {
                font-size: 14px;
                color: #333333;
            }

            .order-number {
                font-size: 20px;
                font-weight: 600;
                color: #000;
            }
        }
    }

    .order-card-body {
        display: flex;
        gap: 16px;
        align-items: center;
        justify-content: space-between;

        .order-main-info {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;

            .order-icon {
                width: 50px;
                height: 50px;
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;

                img {
                    width: 28px;
                    height: auto;
                    opacity: .5;

                }
            }

            .order-type-info {
                display: flex;
                flex-direction: column;
                gap: 4px;

                .order-type {
                    font-size: 18px;
                    font-weight: 500;
                    color: #1C1C1C;
                }

                .complain-description {
                    font-size: 14px;
                    font-weight: 500;
                    color: #333333CC;
                    // max 1 line
                    display: -webkit-box;
                    -webkit-line-clamp: 1;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    height: 25px;

                }
            }
        }

        .order-club-name {
            font-size: 14px;
            color: #666;

        }
    }

    .order-details-btn {
        background: #1B8354;
        color: white;
        border: none;
        border-radius: 8px;
        width: 100%;
        @include flexCenter;
        font-size: 18px;
        font-weight: 500;
        cursor: pointer;
        height: 48px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;

        &:hover {
            background: #156b44;
        }

        svg {
            width: 24px;
            height: 24px;
        }
    }

    .complaint-date-row {
        padding: 12px 0px;
        border-top: 1px solid #E5E7EB;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        color: #6B7280;
    }
}

// Responsive
@media (max-width: 768px) {
    .order-card {
        padding: 16px;

        .order-card-header {
            flex-direction: column-reverse;
            align-items: flex-start;

            .order-info-top {
                align-items: flex-start;
            }
        }

        .order-card-body {
            .order-main-info {
                .order-icon {
                    width: 50px;
                    height: 50px;


                }

                .order-type-info {
                    .order-type {
                        font-size: 20px;
                    }
                }
            }
        }

        .order-details-btn {
            font-size: 16px;
            padding: 12px 20px;
        }
    }
}

// Personal and Club Data Form Styles
.personal-club-content {
    padding: 40px 0;

    .order-section {
        margin-bottom: 40px;

        .input-of-mobile-num {

            input,
            button {
                border: none !important;
            }

            .country-select {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 5px;

                img {
                    flex-shrink: 0;
                }

            }
        }

        .order-section-header {
            border-radius: 8px;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;

            .img-cont {
                width: 54px;
                height: 54px;
                border-radius: 8px;
                overflow: hidden;
                display: flex;
                align-items: center;
                justify-content: center;
                background: $main;

                img {
                    width: 22px;
                    height: auto;
                }
            }

            span {
                color: #1C1C1C;
                font-size: 30px;
                font-weight: 600;
            }
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;

            .form-field {
                display: flex;
                flex-direction: column;
                gap: 8px;

                &.full-width {
                    grid-column: 1 / -1;
                }

                label {
                    font-size: 20px;
                    color: #333;
                    font-weight: 500;
                }

                input,
                button {
                    border: 1px solid #E0E0E0;
                    border-radius: 8px;
                    padding: 12px 16px;
                    font-size: 16px;
                    background: white;
                    transition: border-color 0.3s;
                    height: 65px;

                    &:focus {
                        outline: none;
                        border-color: #1B8354;
                    }

                    &[disabled] {
                        background: #F9F9F9;
                        cursor: default;
                    }
                }

                .relative {
                    position: relative;

                    .date-icon {
                        position: absolute;
                        left: 16px;
                        top: 50%;
                        transform: translateY(-50%);
                        pointer-events: none;
                        width: 20px;
                        height: 20px;
                    }

                    input {
                        padding-left: 48px;
                    }
                }

                .input-with-icon,
                .select-field {
                    position: relative;
                    display: flex;
                    align-items: center;

                    input {
                        width: 100%;
                        padding-right: 40px;
                    }

                    svg {
                        position: absolute;
                        right: 12px;
                        top: 50%;
                        transform: translateY(-50%);
                        pointer-events: none;
                    }
                }

                .phone-input {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    border: 1px solid #E0E0E0;
                    border-radius: 8px;
                    padding: 0 16px;
                    background: #F9F9F9;

                    .country-code {
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        padding: 8px 0;
                        font-size: 16px;
                        color: #333;
                        border-right: 1px solid #E0E0E0;
                        padding-right: 12px;

                        svg {
                            flex-shrink: 0;
                        }
                    }

                    input {
                        border: none;
                        padding: 12px 0;
                        flex: 1;
                        background: transparent;

                        &:focus {
                            border: none;
                        }
                    }
                }
            }
        }

        .attachment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;

            &.single {
                grid-template-columns: 1fr;
                max-width: 400px;
            }

            .attachment-item {
                display: flex;
                flex-direction: column;
                gap: 12px;
                align-items: center;
                justify-content: center;

                label {
                    font-size: 14px;
                    color: #333;
                    font-weight: 500;
                }

                .attachment-preview {
                    position: relative;

                    border-radius: 8px;
                    padding: 20px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    min-height: 120px;
                    background: white;
                    transition: all 0.3s;

                    &.image {
                        img {
                            max-width: 105px;
                            max-height: 75px;
                            width: 100%;
                            height: auto;
                            object-fit: cover;
                            border-radius: 4px;
                        }
                    }

                    .remove-btn {
                        position: absolute;
                        top: 8px;
                        left: 8px;
                        background: transparent;
                        border: none;
                        border-radius: 50%;
                        width: 32px;
                        height: 32px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;
                        transition: all 0.3s;

                        &:hover {
                            transform: scale(1.1);
                        }
                    }
                }
            }
        }
    }
}

// Responsive
@media (max-width: 768px) {
    .personal-club-content {
        padding: 24px 0;

        .order-section {
            margin-bottom: 32px;

            .order-section-header {
                padding: 10px 16px;

                svg {
                    width: 20px;
                    height: 20px;
                }

                span {
                    font-size: 16px;
                }
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .attachment-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
        }
    }
}



//order header
.order-header {
    margin: 30px 0;

    h2 {
        color: #1C1C1C;
        text-align: center;
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 24px;
    }

    .details-cont {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        flex-wrap: wrap;

        .r-side,
        .l-side {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .label {
            font-size: 16px;
            color: #333333;
            font-weight: 500;
        }

        .value {
            font-size: 24px;
            color: #1C1C1C;
            font-weight: 500;
        }

        .l-side {
            span {
                height: 50px;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 0 30px;
                border-radius: 16px;
                font-size: 20px;
                font-weight: 500;
            }
        }
    }
}

// Order Message Styles
.order-message {
    margin: 30px 0;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    &.info {
        background: #C6E0D480;

        .icon-container {
            color: $main;
        }

        .message-text {
            color: $main;
        }
    }

    &.error {
        background: #FDEAEA;

        .icon-container {
            color: #E5252A;
        }

        .message-text {
            color: #E5252A;
        }
    }

    .message-content {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        flex: 1;
        min-width: 0;

        .icon-container {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            margin-top: 2px;

            svg {
                width: 100%;
                height: 100%;
            }
        }

        .message-text {
            font-size: 16px;
            font-weight: 400;
            line-height: 1.6;
            margin: 0;
        }
    }

    .message-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;

        .action-btn {
            padding: 12px 32px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;

            &.primary,
            &.pay,
            &.acceptWin {
                background: #1B8354;
                color: white;

                &:hover {
                    background: darken(#1B8354, 8%);
                }
            }

            &.danger,
            &.rejectWin {
                background: #E5252A;
                color: white;

                &:hover {
                    background: darken(#E5252A, 8%);
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .order-message {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;

        .message-content {
            width: 100%;

            .message-text {
                font-size: 14px;
            }
        }

        .message-actions {
            width: 100%;
            flex-direction: column;

            .action-btn {
                width: 100%;
                padding: 12px 24px;
            }
        }
    }
}

// Order Pricing Styles
.order-pricing {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;

    .section-header-pricing {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;

        .section-icon {
            width: 48px;
            height: 48px;
            background: $main;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;

            svg {
                width: 24px;
                height: 24px;
            }
        }

        .section-title-pricing {
            font-size: 18px;
            font-weight: 600;
            color: #1C1C1C;
            margin: 0;
        }
    }

    .cost-breakdown {
        display: flex;
        flex-direction: column;
        gap: 16px;

        .cost-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid #E0E0E0;

            &:last-child {
                border-bottom: none;
            }

            .cost-label {
                font-size: 16px;
                font-weight: 400;
                color: #666666;
            }

            .cost-value {
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 18px;
                font-weight: 600;
                color: #1C1C1C;

                img {
                    width: 20px;
                    height: 20px;
                }
            }

            &.total-item {
                padding-top: 20px;
                margin-top: 8px;
                border-bottom: none;

                .cost-label-total {
                    font-size: 18px;
                    font-weight: 600;
                    color: #1C1C1C;
                }

                .cost-value-total {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-size: 20px;
                    font-weight: 700;
                    color: $main;

                    img {
                        width: 22px;
                        height: 22px;
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .order-pricing {
        padding: 16px;
        margin: 20px 0;

        .section-header-pricing {
            .section-icon {
                width: 40px;
                height: 40px;

                svg {
                    width: 20px;
                    height: 20px;
                }
            }

            .section-title-pricing {
                font-size: 16px;
            }
        }

        .cost-breakdown {
            .cost-item {
                padding: 12px 0;

                .cost-label {
                    font-size: 14px;
                }

                .cost-value {
                    font-size: 16px;

                    img {
                        width: 18px;
                        height: 18px;
                    }
                }

                &.total-item {
                    .cost-label-total {
                        font-size: 16px;
                    }

                    .cost-value-total {
                        font-size: 18px;

                        img {
                            width: 20px;
                            height: 20px;
                        }
                    }
                }
            }
        }
    }
}


.single-complaint-wrapper {
    .somplaint-wraper {
        margin: 80px 0;

        @media screen and (max-width: 768px) {
            margin: 40px 0;
        }
    }

    .complaint-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 32px;
        padding: 24px;
        background: white;


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

        .complaint-meta {
            display: flex;
            gap: 12px;
            align-items: center;

            .complaint-label {
                font-size: 18px;
                font-weight: 500;
                color: #333;
                margin-bottom: 0;
            }

            .complaint-value {
                font-size: 24px;
                font-weight: 500;
                color: #1C1C1C;
            }
        }

        .complaint-status-badge-large {
            padding: 10px 24px;
            border-radius: 20px;
            font-size: 16px;
            font-weight: 600;
            height: fit-content;

        }
    }

    .complaint-details-section,
    .complaint-attachments-section,
    .admin-response-section {
        margin-bottom: 32px;

        .complaint-section-title {
            font-size: 20px;
            font-weight: 700;
            color: #1C1C1C;
            margin-bottom: 16px;
        }
    }

    .attachments-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
        margin-top: 16px;

        .attachment-item {
            width: 100px;
            height: 100px;
            object-fit: contain;
            @include flexCenter
        }
    }

    @media screen and (max-width: 768px) {
        .complaint-header {
            flex-direction: column;
            gap: 16px;

            .complaint-status-badge-large {
                align-self: flex-start;
            }
        }
    }
}

.profile-content-wrapper {
    margin: 80px 0;

    @media screen and (max-width: 768px) {
        margin: 40px 0;
    }

    .profile-page-title {
        font-size: 28px;
        font-weight: 700;
        color: #1C1C1C;
        text-align: center;
        margin-bottom: 40px;

        @media screen and (max-width: 768px) {
            font-size: 24px;
            margin-bottom: 30px;
        }
    }

    .input-of-mobile-num {
        height: 65px;

        input,
        button {
            border: none !important;
            border-radius: 0 !important;
        }
    }
}


// Add to your components/_login.scss or create a new _cancel-modal.scss

.cancel-modal-content {
    max-width: 900px;
    width: 90%;
}

.cancel-modal-form {
    padding: 2rem;
}

.cancel-modal-title {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.cancel-reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.cancel-reason-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
        border-color: #1B8354;
        background-color: #f8fdf9;
    }
}

.cancel-reason-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #1B8354;
}

.cancel-reason-radio:checked+.cancel-reason-text {
    color: #1B8354;
    font-weight: 600;
}

.cancel-reason-text {
    font-size: 1rem;
    color: #333;
    flex: 1;
}

.cancel-submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #1B8354;
    color: white;
    height: 56px;
    @include flexCenter;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover:not(:disabled) {
        background-color: #145c3a;
    }

    &:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
}

.loader-btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cancel-order-btn {
    background-color: $main;
    height: 56px;
    min-width: 350px;
    margin-bottom: 70px;
    font-size: 18px;
    font-weight: 500;
    color: $white;
}



// Logout Modal Styles
.logout-modal-content {
    max-width: 500px;
    width: 90%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
}

.logout-modal-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logout-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logout-modal-title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 8px;
    width: 100%;
}

.logout-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;

    @media screen and (max-width: 768px) {
        flex-direction: column-reverse;
    }
}

.logout-cancel-btn {
    min-width: 200px;
    height: 44px;
    background-color: white;
    color: #E5252A;
    border: 2px solid #E5252A;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover:not(:disabled) {
        background-color: #E5252A;
        color: white;
    }

    &:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    @media screen and (max-width: 768px) {
        width: 100%;
    }
}


.logout-confirm-btn {
    min-width: 200px;
    height: 44px;
    background-color: #1B8354;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    @include flexCenter;

    &:hover:not(:disabled) {
        background-color: #145c3a;
    }

    &:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    @media screen and (max-width: 768px) {
        width: 100%;
    }
}