* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #f8f9fa url('https://i.imgur.com/SSgfsPz.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

.header-banner {
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.header-banner img {
    max-width: 360px;
    width: 100%;
    height: auto;
}

.card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.25), 0 0 0 1px rgba(239, 68, 68, 0.15);
    width: 100%;
    max-width: 480px;
    padding: 20px 24px;
    position: relative;
    backdrop-filter: blur(8px);
}

.card-title-img {
    text-align: center;
    margin-bottom: 15px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title-img img {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #e53e3e;
    font-size: 18px;
    z-index: 10;
    pointer-events: none;
}

.input-control {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 48px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
    background-color: #ffffff;
    color: #333;
}

.input-control:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

/* Tom Select Custom Overrides */
.ts-wrapper.input-control {
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
}

.ts-wrapper.input-control.focus {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12) !important;
}

.ts-control {
    height: 48px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 16px 0 48px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.ts-control > input {
    font-size: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    max-width: 100% !important;
    flex-grow: 1 !important;
}

.ts-dropdown {
    border-radius: 10px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #eee !important;
    margin-top: 4px !important;
    z-index: 9999 !important;
}

.bank-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
    white-space: nowrap;
}

.bank-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 4px;
    flex-shrink: 0;
}

.bank-item .bank-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    overflow: hidden;
}

.bank-item .bank-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.btn-submit {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #e52e2e, #b91c1c);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45);
}

.btn-submit:disabled {
    background: #fca5a5;
    box-shadow: none;
    cursor: not-allowed;
}

.result-box {
    margin-top: 15px;
    background: #ffffff;
    border: 1px solid #fee2e2;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: none;
}

.result-logo {
    max-height: 75px;
    max-width: 260px;
    object-fit: contain;
    margin-bottom: 12px;
}

.result-line {
    font-size: 15px;
    color: #333;
    margin: 8px 0;
    word-break: break-all;
}

.btn-copy {
    color: #2563eb;
    cursor: pointer;
    font-size: 13px;
    margin-left: 6px;
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
    font-weight: 600;
}

.btn-copy:hover {
    text-decoration: underline;
}

.status-error {
    color: #ef4444;
    font-size: 15px;
    font-weight: 600;
    margin: 10px 0;
}