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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #DAFFEA 0%, rgba(251, 251, 252, 0.5) 30%) no-repeat;
    background-color: #FBFBFC;
    color: #304A43;
    min-height: 100vh;
}

.app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.back-btn svg path {
    stroke: #304A43;
}

.title {
    font-size: 18px;
    font-weight: 600;
    color: #304A43;
}

.placeholder {
    width: 40px;
}

/* Bank Selection */
.partner-content {
    padding: 0 10px;
    margin-bottom: 30px;
}

.partner-list {
    padding-top: 10px;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #304A43;
    border: 1px solid #E0E0E0;
    border-radius: 9px;
    height: 100px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.list-item:active {
    background: rgba(18, 208, 101, 0.1);
}

.bank-name {
    flex: 1;
    font-size: 16px;
    color: #304A43;
}

.list-item-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}

.list-item-placeholder {
    width: 58px;
    height: 58px;
}

/* Steps */
.steps-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 16px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
}

.step.active .step-circle,
.step.completed .step-circle {
    background: linear-gradient(90deg, #12D065 0%, #0AB086 100%);
    color: #fff;
}

.step-label {
    font-size: 12px;
    color: #999;
}

.step.active .step-label,
.step.completed .step-label {
    color: #304A43;
}

.step-line {
    width: 50px;
    height: 2px;
    background: #E0E0E0;
    margin: 15px 8px 0;
}

.step-line.active {
    background: linear-gradient(90deg, #12D065 0%, #0AB086 100%);
}

/* Form */
.step-content {
    padding: 0 16px;
}

.form-container {
    margin-bottom: 20px;
}

.form-item {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #304A43;
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    height: 44px;
    background: #F7F7F7;
    border: 1px solid #E0E0E0;
    border-radius: 50px;
    padding: 0 16px;
    font-size: 16px;
    color: #304A43;
    outline: none;
}

.form-input:focus {
    border-color: #12D065;
}

.form-error {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
}

/* Password Code Input */
.password-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.code-input {
    display: flex;
    gap: 8px;
}

.code-box {
    width: 38px;
    height: 38px;
    background: #F7F7F7;
    border: 1px solid #A7A7CC;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #304A43;
}

.code-box.active {
    border-color: #12D065;
}

.eye-toggle {
    cursor: pointer;
    padding: 8px;
}

.forgot-password {
    color: #7878fa;
    font-size: 14px;
    margin-top: 8px;
    cursor: pointer;
}

/* Buttons */
.button-box {
    padding: 10px 0;
}

.btn {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(90deg, #12D065 0%, #0AB086 100%);
    color: #fff;
}

.btn-secondary {
    background: #F7F7F7;
    color: #304A43;
    border: 1px solid #E0E0E0;
}

/* OTP Input */
.otp-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.otp-input {
    flex: 1;
    height: 44px;
    background: #F7F7F7;
    border: 1px solid #E0E0E0;
    border-radius: 50px;
    padding: 0 16px;
    font-size: 16px;
    color: #304A43;
    outline: none;
}

.send-code {
    height: 43px;
    border-radius: 24px;
    background: linear-gradient(90deg, #12D065 0%, #0AB086 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.send-code.disabled {
    background: #bfbfbf;
    color: #000;
}

/* UPI List */
.upi-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.upi-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #E0E0E0;
}

.upi-item.selected {
    border-color: #12D065;
    background: rgba(18, 208, 101, 0.1);
}

.upi-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #E0E0E0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upi-item.selected .upi-radio {
    border-color: #12D065;
}

.upi-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #12D065;
    display: none;
}

.upi-item.selected .upi-radio-inner {
    display: block;
}

.upi-id {
    font-size: 16px;
    color: #304A43;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 20px;
}

.warning-icon {
    margin-bottom: 20px;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #FFB800;
    margin-bottom: 12px;
}

.empty-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Instruction Card */
.instruction-card {
    background: #F7F7F7;
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
}

.instruction-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: #304A43;
}

.instruction-list {
    padding-left: 20px;
    margin: 0;
}

.instruction-list li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.instruction-list strong {
    color: #12D065;
}

/* Success Tip */
.success-tip {
    color: #5ac725;
    font-size: 14px;
    line-height: 1.6;
    padding: 16px;
}

/* Loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #E0E0E0;
    border-top-color: #12D065;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 16px;
    color: #fff;
    font-size: 14px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 200;
    max-width: 80%;
    text-align: center;
}

.toast.show {
    opacity: 1;
}
