/* ===================================
   Info Page - Bank Transfer Details
   =================================== */

:root {
    --primary-color: #dc2626;
    --primary-hover: #b91c1c;
    --secondary-color: #16a34a;
    --secondary-hover: #15803d;
    --dark-bg: #1f2937;
    --light-bg: #f9fafb;
    --text-dark: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
}

.nav-brand:hover {
    color: var(--primary-color);
}

.nav-logo {
    width: 32px;
    height: 32px;
}

.back-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.back-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Info Card */
.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.info-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}

/* Image Section */
.image-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bank-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Bank Details */
.bank-details {
    display: grid;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-bg);
    padding: 0.625rem 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.detail-value-group:hover {
    border-color: var(--primary-color);
    background: #fef2f2;
}

.detail-value {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Monaco', 'Courier New', monospace;
}

.copy-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.copy-button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button.copied {
    background: var(--secondary-color);
}

.copy-button .icon {
    font-size: 1rem;
}

/* Copy All Section */
.copy-all-section {
    margin-bottom: 2rem;
    text-align: center;
}

.copy-all-button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.copy-all-button:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.copy-all-button:active {
    transform: translateY(0);
}

/* Success Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition);
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    font-weight: 600;
}

/* Instructions */
.instructions {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.instructions-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instructions-list {
    margin-left: 1.5rem;
    color: #92400e;
    line-height: 1.8;
}

.instructions-list li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 2rem 1.5rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.875rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .detail-value-group {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-button {
        width: 100%;
        justify-content: center;
    }

    .copy-all-button {
        width: 100%;
        justify-content: center;
    }

    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
