.eodps-payment-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.eodps-promo-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eodps-promo-field {
    display: flex;
    gap: 8px;
}

.eodps-promo-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    background: #242424;
    border: 2px solid #333333;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.eodps-promo-input:focus {
    outline: none;
    border-color: #de668b;
    background: #2a2a2a;
}

.eodps-promo-input::placeholder {
    color: #666666;
}

.eodps-promo-message {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 8px;
}

.eodps-promo-message.success {
    display: flex;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.eodps-promo-message.error {
    display: flex;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.eodps-promo-message::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.eodps-promo-message.success::before {
    content: "\f00c";
}

.eodps-promo-message.error::before {
    content: "\f071";
}

.eodps-payment-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #ffffff;
    background:#383838 !important;
    border: none !important;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.eodps-payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(222, 102, 139, 0.3);
    background:#de668b !important;
}

.eodps-payment-button:active {
    transform: translateY(1px);
}

.eodps-payment-button.loading {
    background:#383838 !important;
    pointer-events: none;
}

.eodps-payment-button .button-text {
    opacity: 1;
    transition: opacity 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.eodps-payment-button.loading .button-text {
    opacity: 0;
}

.eodps-payment-button .spinner {
    position: absolute;
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

.eodps-payment-button.loading .spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.eodps-error {
    color: #dc3545;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(220, 53, 69, 0.1);
    margin: 10px 0;
}

.eodps-history-container {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.eodps-no-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: #242424;
    border-radius: 8px;
}

.eodps-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    fill: #666666;
}

.eodps-no-payments p {
    color: #999999;
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.eodps-payment-item {
    background: #242424;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.eodps-payment-item:last-child {
    margin-bottom: 0;
}

.eodps-payment-header {
    display: grid;
    grid-template-columns: 120px 1fr auto auto 48px;
    gap: 16px;
    padding: 16px 20px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.eodps-payment-header:hover {
    background: #2a2a2a;
}

.eodps-payment-date {
    color: #999999;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
}

.eodps-payment-date .date-primary {
    color: #999999;
    font-size: 14px;
    font-weight: 500;
}

.eodps-payment-date .date-secondary {
    color: #777777;
    font-size: 13px;
    font-weight: 400;
}

.eodps-payment-description {
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
}

.eodps-payment-total {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

.eodps-payment-status {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    background: rgb(223 103 140 / 91%);
    border-radius: 12px;
}

.eodps-toggle-details {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.eodps-toggle-details svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: fill 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eodps-toggle-details:hover svg {
    fill: #ffffff;
}

.eodps-payment-item.active .eodps-toggle-details {
    transform: rotate(180deg);
}

.eodps-payment-details {
    display: block;
    padding: 0 20px;
    border-top: 1px solid #333333;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
    transform: translateY(-10px);
    will-change: max-height, opacity, transform, padding;
}

.eodps-payment-item.active .eodps-payment-details {
    padding: 20px;
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.eodps-line-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.eodps-payment-item.active .eodps-line-items {
    opacity: 1;
    transform: translateY(0);
}

.eodps-line-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 8px;
    padding: 16px;
    background: #1a1a1a;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(10px);
    opacity: 0;
}

.eodps-payment-item.active .eodps-line-item {
    transform: translateY(0);
    opacity: 1;
}

.eodps-payment-item.active .eodps-line-item:nth-child(1) { transition-delay: 0.1s; }
.eodps-payment-item.active .eodps-line-item:nth-child(2) { transition-delay: 0.15s; }
.eodps-payment-item.active .eodps-line-item:nth-child(3) { transition-delay: 0.2s; }
.eodps-payment-item.active .eodps-line-item:nth-child(4) { transition-delay: 0.25s; }
.eodps-payment-item.active .eodps-line-item:nth-child(5) { transition-delay: 0.3s; }

.eodps-item-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

.eodps-item-description {
    color: #999999;
    font-size: 14px;
    font-weight: 400;
}

.eodps-item-amount {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

.eodps-discount {
    background: rgba(222, 102, 139, 0.1);
}

.eodps-discount .eodps-item-amount {
    color: #de668b;
}

.eodps-skeleton-loader {
    animation: fadeIn 0.3s ease;
}

.eodps-skeleton-item {
    background: #242424;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    padding: 16px;
    position: relative;
}

.eodps-skeleton-header {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 16px;
    align-items: center;
}

.eodps-skeleton-date,
.eodps-skeleton-description,
.eodps-skeleton-total,
.eodps-skeleton-status {
    height: 20px;
    background: #2a2a2a;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.eodps-skeleton-date {
    width: 90px;
}

.eodps-skeleton-description {
    width: 100%;
}

.eodps-skeleton-total {
    width: 80px;
}

.eodps-skeleton-status {
    width: 100px;
}

.eodps-skeleton-date::after,
.eodps-skeleton-description::after,
.eodps-skeleton-total::after,
.eodps-skeleton-status::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(255, 255, 255, 0.2) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.eodps-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
}

.eodps-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(222, 102, 139, 0.3);
    border-radius: 50%;
    border-top-color: #de668b;
    animation: spin 1s linear infinite;
}

.eodps-payment-list {
    min-height: 100px;
}

.eodps-transaction-id {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333333;
}

.eodps-transaction-id span {
    color: #999999;
    font-size: 13px;
    font-weight: 400;
}

.eodps-copy-button {
    background: none;
    border: none !important;
    padding: 5px 10px;
    cursor: pointer;
    color: #ffffff !important;
    font-size: 13px;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border-radius: 4px;
    background-color: #333333 !important;
}

.eodps-copy-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    background-color: #de668b !important;
}

.eodps-copy-button.copied {
    color: #de668b;
    background: rgba(222, 102, 139, 0.1);
}

.eodps-copy-button .button-text {
    font-weight: 500;
    color: #ffffff;
}

.eodps-transaction-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333333;
}

.eodps-transaction-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.eodps-transaction-row:last-child {
    color: #999999;
    font-size: 13px;
    font-weight: 400;
}

.eodps-transaction-row span {
    color: #999999;
    font-size: 13px;
    font-weight: 400;
}

.eodps-discount-notice {
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.eodps-discount-notice.success {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

.eodps-discount-notice.error {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.eodps-discount-notice i {
    font-size: 16px;
}

.eodps-discount-notice span {
    font-weight: 500;
}

.eodps-payment-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    background: #666666 !important;
}

.eodps-payment-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.eodps-discount-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

.eodps-skeleton-input {
    height: 48px;
    background: #242424;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.eodps-skeleton-button {
    height: 52px;
    background: #242424;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.eodps-skeleton-input::after,
.eodps-skeleton-button::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(255, 255, 255, 0.2) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
}

.eodps-discount-form-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.eodps-discount-field {
    display: flex;
    gap: 8px;
}

.eodps-discount-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    background: #242424;
    border: 2px solid #333333;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.eodps-discount-input:focus {
    outline: none;
    border-color: #de668b;
    background: #2a2a2a;
}

.eodps-discount-input::placeholder {
    color: #666666;
}

.eodps-discount-message {
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.eodps-discount-message.error {
    display: flex;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.eodps-discount-message::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f071";
}

.eodps-apply-discount-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #ffffff;
    background: #383838 !important;
    border: none !important;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.eodps-apply-discount-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(222, 102, 139, 0.3);
    background: #de668b !important;
}

.eodps-apply-discount-button:active {
    transform: translateY(1px);
}

.eodps-apply-discount-button.loading {
    pointer-events: none;
    background: #383838 !important;
}

.eodps-apply-discount-button .button-text {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.eodps-apply-discount-button.loading .button-text {
    opacity: 0;
}

.eodps-apply-discount-button .spinner {
    position: absolute;
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

.eodps-apply-discount-button.loading .spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.eodps-current-discount {
    background: #242424;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.eodps-current-discount.valid {
    border-color: #10b981;
}

.eodps-current-discount.invalid {
    border-color: #ef4444;
}

.eodps-discount-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.eodps-discount-info i {
    font-size: 20px;
}

.eodps-current-discount.valid i {
    color: #10b981;
}

.eodps-current-discount.invalid i {
    color: #ef4444;
}

.eodps-discount-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eodps-discount-code {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.eodps-discount-status {
    color: #999999;
    font-size: 14px;
}

.eodps-current-discount.valid .eodps-discount-status {
    color: #10b981;
}

.eodps-current-discount.invalid .eodps-discount-status {
    color: #ef4444;
}

.eodps-remove-discount-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #666666;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.eodps-remove-discount-button:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.eodps-remove-discount-button i {
    font-size: 18px;
}

@media (max-width: 768px) {

    .eodps-transaction-id {
        justify-content: center;
        flex-direction: column;
        }

    .eodps-payment-header {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .eodps-payment-date {
        grid-column: 1;
        grid-row: 2;
    }

    .eodps-payment-description {
        grid-column: 1;
        grid-row: 1;
    }

    .eodps-payment-total {
        grid-column: 2;
        grid-row: 1 / span 2;
        text-align: right;
    }

    .eodps-payment-status,
    .eodps-toggle-details {
        display: none !important;
    }

    .eodps-payment-header {
        cursor: pointer;
    }

    .eodps-line-item {
        grid-template-columns: 1fr auto;
    }

    .eodps-item-description {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 13px;
    }

    .eodps-item-name,
    .eodps-item-amount {
        font-size: 14px;
    }

    .eodps-payment-date {
        gap: 2px;
    }

    .eodps-payment-date .date-primary {
        font-size: 13px;
    }

    .eodps-payment-date .date-secondary {
        font-size: 12px;
    }
} 