/* TransferNow Clone Design Variables */
:root {
    --tn-orange: #ff5000;
    /* Main CTA Color */
    --tn-orange-hover: #e04600;
    --tn-dark: #121212;
    /* Backgrounds */
    --tn-text: #2c2c2c;
    --tn-text-light: #6e6e6e;
    --tn-border: #e0e0e0;
    --tn-radius: 8px;
    --tn-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--tn-font);
    background-color: #f5f5f5;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2672&auto=format&fit=crop');
    /* Tech background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--tn-text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    backdrop-filter: brightness(0.9);
}

/* Main Layout Centered */
.app-container {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header inside the card */
.card-header {
    background: #fff;
    padding: 20px 30px;
    border-bottom: 1px solid var(--tn-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--tn-text);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--tn-orange);
}

.logo svg {
    width: 24px;
    height: 24px;
    color: var(--tn-orange);
}

/* Navigation Tabs (Start Screen) */
.nav-tabs {
    display: flex;
    padding: 5px;
    background: #f0f0f0;
    margin: 20px 30px 10px;
    border-radius: 8px;
}

.nav-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--tn-text-light);
    transition: all 0.2s;
}

.nav-tab.active {
    background: #fff;
    color: var(--tn-orange);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Screens */
.screen {
    padding: 10px 30px 30px;
    display: none;
}

.screen.active {
    display: block;
}

/* Upload Area (Big Circle) */
.circle-upload {
    width: 140px;
    height: 140px;
    background: rgba(255, 80, 0, 0.05);
    border: 2px dashed var(--tn-orange);
    border-radius: 50%;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.circle-upload:hover {
    transform: scale(1.05);
    background: rgba(255, 80, 0, 0.1);
}

.circle-upload svg {
    width: 40px;
    height: 40px;
    color: var(--tn-orange);
    margin-bottom: 5px;
}

.circle-text {
    font-size: 0.8rem;
    color: var(--tn-orange);
    font-weight: 600;
}

.main-instruction {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.sub-instruction {
    text-align: center;
    font-size: 0.9rem;
    color: var(--tn-text-light);
    margin-bottom: 25px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--tn-text);
}

input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #fcfcfc;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--tn-orange);
    background: #fff;
}

/* Buttons */
.btn-tn {
    width: 100%;
    background: var(--tn-orange);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 30px;
    /* Pill shape like TransferNow */
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tn:hover {
    background: var(--tn-orange-hover);
    transform: translateY(-1px);
}

.btn-tn:active {
    transform: translateY(1px);
}

.btn-link {
    background: none;
    border: none;
    color: var(--tn-text-light);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 15px;
    width: 100%;
}

.btn-link:hover {
    color: var(--tn-text);
}

/* Progress */
.progress-container {
    margin-top: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.progress-track {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--tn-orange);
    width: 0%;
    transition: width 0.3s;
}

/* Success State */
.success-box {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    color: #4caf50;
    margin-bottom: 15px;
}

.code-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tn-text);
    letter-spacing: 5px;
    margin: 15px 0;
    user-select: all;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 1000;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 500px) {
    .app-container {
        height: 100vh;
        border-radius: 0;
        max-width: none;
    }

    .circle-upload {
        width: 120px;
        height: 120px;
    }
}/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 30px;
    right: 0;
    background: white;
    border: 1px solid var(--tn-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    overflow: hidden;
    z-index: 100;
}

.menu-link {
    padding: 12px 16px;
    color: var(--tn-text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-link:hover {
    background: #f5f5f5;
    color: var(--tn-orange);
}
