/* Amazon Authentic Style v3 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #0F1111;
    background: #EAEDED;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    background: #131921;
    padding: 10px 15px;
}

.header-content {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    height: 28px;
}

.logo-img {
    height: 28px;
    width: auto;
}

.header-nav {
    color: #FFF;
    font-size: 14px;
}

/* Alert Banner */
.alert-banner {
    background: #067D62;
    color: #FFF;
    padding: 10px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.alert-icon {
    width: 18px;
    height: 18px;
    background: #FFF;
    color: #067D62;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-icon svg {
    width: 12px;
    height: 12px;
}

/* Main */
.main {
    flex: 1;
    padding: 15px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

/* Cards */
.card {
    background: #FFF;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.page-title {
    font-size: 18px;
    font-weight: 400;
    color: #0F1111;
    margin: 0;
}

.urgency-badge {
    background: #FEF8E7;
    color: #B12704;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Refund Box */
.refund-box {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
}

.refund-amount-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 12px;
}

.refund-currency {
    font-size: 24px;
    font-weight: 400;
    color: #FFF;
    margin-right: 4px;
    margin-top: 8px;
}

.refund-amount {
    font-size: 48px;
    font-weight: 700;
    color: #FFF;
    letter-spacing: -1px;
}

.refund-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00A650;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 13px;
    color: #CCC;
}

/* Order Info */
.order-info {
    border-top: 1px solid #E7E7E7;
    padding-top: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #565959;
    font-size: 13px;
}

.detail-value {
    color: #0F1111;
    font-size: 13px;
}

/* Section Title */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F1111;
    margin-bottom: 15px;
}

/* Transfer Info */
.transfer-info {
    background: #F7FAFA;
    border: 2px solid #007185;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
}

.transfer-method {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 18px;
    height: 18px;
}

.method-text {
    font-size: 15px;
    font-weight: 700;
    color: #0F1111;
}

.transfer-time {
    font-size: 13px;
    color: #007600;
    margin: 0;
    padding-left: 28px;
}

/* Options (legacy) */
.option {
    display: flex;
    gap: 12px;
    padding: 15px;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.option:hover {
    border-color: #007185;
}

.option.selected {
    border-color: #007185;
    border-width: 2px;
    padding: 14px;
    background: #F7FAFA;
}

.option.muted {
    opacity: 0.6;
}

.option.muted:hover {
    opacity: 0.8;
}

.option-radio {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.option.selected .option-radio {
    border-color: #007185;
    border-width: 2px;
}

.radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
}

.option.selected .radio-dot {
    background: #007185;
}

.option-content {
    flex: 1;
}

.option-header {
    margin-bottom: 4px;
}

.option-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F1111;
}

.option-desc {
    font-size: 13px;
    color: #565959;
    margin: 0 0 4px 0;
}

.option-time {
    font-size: 12px;
    color: #007600;
    font-weight: 500;
}

/* Button */
.btn-primary {
    width: 100%;
    background: linear-gradient(to bottom, #FFD814, #FF9900);
    border: 1px solid #FCD200;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #0F1111;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.1s;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #F7CA00, #E88B00);
}

.btn-primary:active {
    background: #E88B00;
}

.btn-primary.pulse {
    animation: btn-pulse 2s infinite;
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 153, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
    }
}

.btn-text {
    display: block;
}

/* Secure Note */
.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 12px;
    color: #007600;
}

.lock-icon {
    flex-shrink: 0;
}

/* Help Section */
.help-section {
    text-align: center;
    padding: 15px;
    font-size: 13px;
}

.help-link {
    color: #007185;
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
    color: #C7511F;
}

.help-divider {
    color: #CCC;
    margin: 0 8px;
}

/* Footer */
.footer {
    background: #131921;
    padding: 15px;
    text-align: center;
}

.footer-copy {
    font-size: 11px;
    color: #999;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #FFF;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #565959;
    cursor: pointer;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F1111;
    margin-bottom: 10px;
    padding-right: 30px;
}

.modal-text {
    font-size: 14px;
    color: #565959;
    margin: 0;
    line-height: 1.5;
}

/* Installation Modal */
.modal-install {
    max-width: 360px;
    padding: 0;
    overflow: hidden;
}

.install-header {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    padding: 20px;
    text-align: center;
}

.install-logo {
    height: 24px;
    margin-bottom: 12px;
}

.install-title {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.install-steps {
    padding: 20px;
}

.install-step {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.install-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #232F3E;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F1111;
    margin: 0 0 4px 0;
}

.step-desc {
    font-size: 13px;
    color: #565959;
    margin: 0;
    line-height: 1.4;
}

.step-desc strong {
    color: #0F1111;
}

.step-note {
    font-size: 12px;
    color: #007185;
    margin-top: 6px;
    padding: 6px 10px;
    background: #F0F8FF;
    border-radius: 4px;
}

.step-screenshot {
    margin-top: 8px;
    height: 60px;
    background: #F5F5F5;
    border-radius: 4px;
    display: none; /* Can add actual screenshot later */
}

.btn-download {
    margin: 0 20px 15px;
    width: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.install-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 20px;
    margin: 0;
    font-size: 12px;
    color: #007600;
    background: #F7F7F7;
    border-top: 1px solid #E7E7E7;
}
