/* General styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #EDAD22;
    color: #333;
}

.page-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #f4f7f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.page-header {
    background-color: #EDAD22;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.page-header h1 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.language-dropdown {
    position: absolute;
    right: 1rem;
}

.dropdown-btn {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-btn i {
    margin-left: 0.3rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.language-dropdown:hover .dropdown-content {
    display: block;
}


/* Main Content */
.content-container {
    padding: 1rem;
    flex-grow: 1;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 1.5rem 0;
}

.order-amount {
    text-align: center;
    margin-bottom: 2rem;
}

.order-amount p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
}

.order-amount .amount {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 0.5rem;
}

.order-amount .amount span {
    font-size: 1rem;
    font-weight: normal;
    color: #888;
    margin-left: 0.5rem;
}

/* Payment Options */
.payment-options .option {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.payment-options .option.selected {
    border-color: #EDAD22;
    background-color: #f0f6ff;
}

.option-title {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.option-title i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #004a99;
}

.promptpay-logo {
    display: flex;
    align-items: center;
}

.promptpay-logo img {
    height: 25px;
}

.option .checkmark {
    color: #004a99;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    display: none;
}

.option.selected .checkmark {
    display: block;
}

.bank-transfer-text {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
}


/* Hint */
.hint {
    background-color: #e6f0ff;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.hint p {
    margin: 0;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}

/* Footer */
.page-footer {
    padding: 1rem;
    text-align: center;
}

.next-btn {
    background-color: #EDAD22;
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1rem;
}

.security-info {
    font-size: 0.9rem;
    color: #008f5d;
}

.security-info i {
    margin-right: 0.3rem;
}

/* Modal styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    width: 90vw;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.close-btn {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
}
.modal-content h2 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
}
.modal-hint {
    background: #f4f7fa;
    color: #888;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}
.modal-content label {
    margin: 0.5rem 0 0.3rem 0;
    color: #333;
    font-size: 1rem;
}
#payCardInput {
    padding: 0.7rem;
    border: 1px solid #dbe2e8;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}
.modal-confirm-btn {
    background: #EDAD22;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}
.modal-confirm-btn:active {
    background: #003366;
} 