:root {
    --primary: #3498db;
    --success: #2ecc71;
    --danger: #e74c3c;
    --dark: #2c3e50;
    --light: #ecf0f1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.payment-container, .admin-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.payment-summary h2 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--success);
}

.notice {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

button, .submit-btn, .return-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background 0.3s;
}

button:hover, .submit-btn:hover, .return-btn:hover {
    background: #2980b9;
}

.confirmation {
    text-align: center;
    padding: 2rem 0;
}

.error {
    color: var(--danger);
    margin-bottom: 1rem;
}

.success {
    color: var(--success);
    margin-bottom: 1rem;
}

.logout {
    color: var(--danger);
    text-decoration: none;
}

@media (max-width: 600px) {
    .payment-container, .admin-container {
        margin: 1rem;
        padding: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.payment-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.payment-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    margin-bottom: 20px;
}

.payment-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), #3a56e8);
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    font-size: 24px;
}

.secure-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.secure-badge i {
    margin-right: 6px;
}

.payment-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.payment-header h1 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.payment-summary {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.summary-item.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 17px;
}

.summary-item.total .amount {
    color: var(--primary-color);
    font-weight: 700;
}

.payment-notice {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--secondary-color);
}

.payment-notice i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.form-section {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-section h2 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.form-section h2 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
    outline: none;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 40px;
}

.input-with-icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.input-with-icon .fab {
    right: auto;
    left: 15px;
    transform: translateY(-50%);
    color: #aaa;
}

.input-with-icon .fab:nth-child(2) { left: 45px; }
.input-with-icon .fab:nth-child(3) { left: 75px; }
.input-with-icon .fab:nth-child(4) { left: 105px; }

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn i {
    margin-right: 10px;
}

.submit-btn:hover {
    background: #3a56e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 107, 255, 0.3);
}

.form-actions {
    padding: 20px;
}

.secure-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 13px;
    color: var(--secondary-color);
}

.secure-guarantee i {
    margin-right: 8px;
    color: var(--success-color);
}

.payment-footer {
    text-align: center;
    padding: 20px 0;
    color: var(--secondary-color);
    font-size: 13px;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.compliance-badges span {
    display: flex;
    align-items: center;
}

.compliance-badges i {
    margin-right: 5px;
    color: var(--success-color);
}

.copyright {
    margin-top: 10px;
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .payment-container {
        border-radius: 0;
    }
    
    .compliance-badges {
        flex-direction: column;
        gap: 8px;
    }
}