/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: linear-gradient(135deg, #001a70 0%, #001a70 100%);
    width: 350px;
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.logo-section {
    margin-bottom: 30px;
}

.logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 30px;
}

.sidebar-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0.6;
    margin-top: -40px;
}

.sidebar h1 {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 300;
}

.decorative-elements {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}

.decorative-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h2 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

button {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    min-height: 48px;
    touch-action: manipulation;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="date"],
input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 16px;
    transition: border-color 0.3s;
    background: transparent;
    min-height: 44px;
    -webkit-font-size-adjust: 100%;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-bottom-color: #001a70;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #001a70 0%, #001a70 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 26, 112, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #001a70;
    border: 2px solid #001a70;
}

.btn-secondary:hover {
    background: #e8f0ff;
}

.btn-create {
    background: #001a70;
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-create:hover {
    background: #000d4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 26, 112, 0.3);
}

/* ===== INDEX.HTML SPECIFIC ===== */
.login-container {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: calc(100% - 80px);
    max-width: 400px;
    transition: max-width 0.3s ease;
}

.login-container.expanded {
    max-width: 500px;
}

.example-text {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.separator {
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.separator span {
    background: white;
    padding: 0 20px;
    position: relative;
    color: #999;
    font-size: 14px;
}

.no-account {
    text-align: center;
    margin-top: 30px;
}

.no-account h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.no-account p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.info-section {
    margin-bottom: 20px;
}

.info-section h4 {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.info-section a {
    color: #001a70;
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}



.step {
    display: none;
}

.step.active {
    display: block;
}

.settlement-container {
    padding: 20px 0;
}

.settlement-header {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.settlement-header h3 {
    color: #d9534f;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.settlement-text {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.settlement-info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.info-value {
    color: #001a70;
    font-size: 14px;
    font-weight: 600;
}

.settlement-amount {
    color: #d9534f;
    font-size: 24px;
    font-weight: bold;
}

.notice-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.notice-list p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.notice-list p:last-child {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.payment-logo {
    width: 100px;
    height: auto;
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: 120px;
}

.pdf-logo {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

#step5 {
    position: relative;
}

@media (max-width: 480px) {
    #step5 {
        position: static;
    }
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #001a70;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}

.loading-steps {
    width: 100%;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.loading-step.active {
    color: #001a70;
    font-weight: 600;
}

.step-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
}

.loading-step.active .step-indicator {
    background: #001a70;
    color: white;
    border-color: #001a70;
}

.loading-step.completed .step-indicator {
    background: #28a745;
    color: white;
    border-color: #28a745;
    font-size: 0;
}

.loading-step.completed .step-indicator::after {
    content: "✓";
    font-size: 14px;
    display: block;
}

.receipt {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.receipt-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.receipt-header h3 {
    color: #28a745;
    font-size: 18px;
    margin-bottom: 5px;
}

.receipt-header p {
    color: #666;
    font-size: 14px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.receipt-item:last-child {
    border-bottom: none;
}

.receipt-item.label {
    color: #666;
    font-weight: 500;
}

.receipt-item.value {
    color: #333;
    font-weight: 500;
}

.receipt-item.total {
    padding: 20px 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #001a70;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    color: #155724;
    text-align: center;
    font-size: 14px;
}

.pdf-receipt {
    display: none !important;
    background: white;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #333;
    padding: 20px;
}

.pdf-receipt.visible {
    display: block;
}

.pdf-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #001a70;
}

.pdf-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.pdf-title {
    font-size: 24px;
    font-weight: bold;
    color: #001a70;
    margin: 10px 0;
}

.pdf-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.pdf-content {
    margin-bottom: 20px;
}

.pdf-section {
    margin-bottom: 25px;
}

.pdf-section-title {
    font-size: 13px;
    font-weight: bold;
    color: #001a70;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.pdf-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
}

.pdf-label {
    color: #666;
    font-weight: bold;
}

.pdf-value {
    text-align: right;
    color: #333;
}

.pdf-total {
    background: #f8f9fa;
    padding: 12px;
    margin: 20px 0;
    border-left: 4px solid #001a70;
    font-size: 16px;
    font-weight: bold;
}

.pdf-footer {
    position: relative;
    margin-top: 40px;
    text-align: center;
    font-size: 11px;
    color: #999;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.error-message {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* ===== CAPTCHA.HTML SPECIFIC ===== */
.captcha-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

.captcha-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
}

.security-info {
    background: #e8f0ff;
    border-left: 4px solid #001a70;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.security-info p {
    color: #001a70;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.captcha-question {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    color: #001a70;
    text-align: center;
    border: 2px solid #e0e0e0;
}

.captcha-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 16px;
    transition: border-color 0.3s;
    background: transparent;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
}

.captcha-input:focus {
    outline: none;
    border-bottom-color: #001a70;
}

.captcha-error {
    color: #d9534f;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
    background: #f8d7da;
    padding: 12px;
    border-radius: 4px;
    border-left: 4px solid #d9534f;
}

.captcha-error.show {
    display: block;
}

.captcha-btn {
    background: linear-gradient(135deg, #001a70 0%, #001a70 100%);
    color: white;
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
}

.captcha-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 26, 112, 0.4);
}

.captcha-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.captcha-refresh {
    text-align: center;
    margin-top: 15px;
}

.captcha-refresh button {
    background: transparent;
    color: #001a70;
    border: 2px solid #001a70;
    padding: 12px 24px;
}

.captcha-refresh button:hover {
    background: #e8f0ff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sidebar {
        width: 300px;
        padding: 30px 20px;
    }

    .logo {
        width: 80%;
        max-width: 250px;
    }

    .sidebar h1 {
        font-size: 28px;
    }

    .decorative-image {
        max-width: 250px;
    }

    .main-content {
        padding: 30px;
    }

    .login-container {
        padding: 30px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #001a70 0%, #001a70 100%);
        min-height: auto;
    }

    .logo-section {
        margin-bottom: 0;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .logo {
        width: 120px;
        max-width: 120px;
        height: auto;
        margin-bottom: 0;
    }

    .sidebar-title {
        display: none;
    }

    .decorative-elements {
        display: none;
    }

    .main-content {
        padding: 20px;
        flex: 1;
        align-items: stretch;
        justify-content: flex-start;
        padding-top: 20px;
    }

    .login-container {
        padding: 20px;
        max-width: 100%;
        width: 100%;
        margin: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .login-container.expanded {
        max-width: 100%;
    }

    .captcha-container {
        padding: 20px;
        max-width: 100%;
        width: 100%;
    }

    .sidebar h1 {
        font-size: 18px;
        line-height: 1.3;
    }

    h2 {
        font-size: 18px;
    }

    .subtitle {
        font-size: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-row-inline {
        grid-template-columns: 1fr;
    }

    .button-group {
        gap: 12px;
        flex-direction: row;
    }

    button {
        min-height: 44px;
        font-size: 15px;
    }

    .btn-primary {
        min-height: 44px;
        flex: 1;
    }

    .btn-secondary {
        min-height: 44px;
        flex: 1;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="date"],
    input[type="tel"] {
        min-height: 44px;
        font-size: 16px;
        padding: 12px 14px;
    }

    label {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .settlement-info-box {
        padding: 14px;
    }

    .receipt {
        padding: 18px;
        margin-top: 25px;
    }

    .receipt-item {
        padding: 10px 0;
        font-size: 13px;
    }

    .receipt-header {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .payment-logo {
        width: 100px;
        position: static;
        margin: 20px auto 0;
    }

    .decorative-image {
        width: 100%;
        max-width: 180px;
    }

    .info-row {
        flex-direction: row;
        align-items: center;
    }

    .btn-create {
        padding: 11px;
        font-size: 13px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .sidebar {
        width: 100%;
        padding: 12px 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: auto;
    }

    .logo-section {
        margin-bottom: 0;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .logo {
        width: 100px;
        max-width: 100px;
        height: auto;
        margin-bottom: 0;
    }

    .sidebar-title {
        display: none;
    }

    .decorative-elements {
        display: none;
    }

    .decorative-image {
        width: 100%;
        max-width: 150px;
    }

    .main-content {
        padding: 16px;
        align-items: stretch;
        justify-content: flex-start;
        min-height: auto;
    }

    .login-container {
        padding: 18px;
        margin-top: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .login-container.expanded {
        max-width: 100%;
    }

    .captcha-container {
        padding: 18px;
        margin-top: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    h2 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .subtitle {
        font-size: 12px;
        margin-bottom: 16px;
    }

    label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="date"],
    input[type="tel"] {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
        margin-bottom: 2px;
    }

    button {
        padding: 11px 16px;
        font-size: 13px;
        min-height: 44px;
    }

    .btn-primary {
        width: 100%;
        min-height: 44px;
    }

    .btn-secondary {
        width: 100%;
        min-height: 44px;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
        margin-top: 24px;
    }

    .button-group button {
        width: 100%;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .settlement-container {
        padding: 12px 0;
    }

    .separator {
        margin: 24px 0;
    }

    .no-account {
        margin-top: 24px;
    }

    .example-text {
        font-size: 11px;
        margin-top: 4px;
    }

    .separator span {
        padding: 0 12px;
        font-size: 12px;
    }

    .no-account h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .no-account p {
        font-size: 13px;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .btn-create {
        padding: 11px;
        font-size: 12px;
        min-height: 44px;
    }

    .footer-info {
        margin-top: 20px;
        padding-top: 16px;
        font-size: 11px;
    }

    .info-section {
        margin-bottom: 12px;
    }

    .info-section h4 {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .info-section p {
        font-size: 12px;
        line-height: 1.4;
    }

    .settlement-text {
        font-size: 12px;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .settlement-info-box {
        padding: 12px;
        margin-bottom: 16px;
    }

    .info-row {
        padding: 10px 0;
        flex-direction: column;
    }

    .info-label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .info-value {
        font-size: 12px;
    }

    .settlement-amount {
        font-size: 18px;
        margin-top: 4px;
    }

    .settlement-header {
        padding: 10px;
        margin-bottom: 16px;
    }

    .settlement-header h3 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .notice-list {
        padding: 12px;
        margin-bottom: 18px;
    }

    .notice-list p {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .form-row-inline {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .receipt {
        padding: 14px;
        margin-top: 20px;
    }

    .receipt-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .receipt-header h3 {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .receipt-header p {
        font-size: 11px;
    }

    .receipt-item {
        padding: 8px 0;
        font-size: 12px;
        flex-direction: column;
    }

    .receipt-item.label {
        margin-bottom: 3px;
    }

    .receipt-item.value {
        margin-bottom: 3px;
    }

    .receipt-item.total {
        padding: 12px 0 8px 0;
        font-size: 13px;
    }

    .loading-container {
        padding: 24px 16px;
    }

    .spinner {
        width: 45px;
        height: 45px;
        margin-bottom: 20px;
    }

    .loading-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .loading-steps {
        text-align: left;
    }

    .loading-step {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .step-indicator {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        font-size: 10px;
    }

    .security-info {
        padding: 12px;
        margin-bottom: 18px;
    }

    .security-info p {
        font-size: 11px;
        line-height: 1.4;
    }

    .captcha-question {
        padding: 16px;
        margin-bottom: 18px;
        font-size: 18px;
    }

    .captcha-input {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
    }

    .captcha-error {
        font-size: 11px;
        padding: 10px;
        margin-bottom: 14px;
    }

    .captcha-btn {
        padding: 11px;
        font-size: 13px;
        margin-bottom: 12px;
        min-height: 44px;
    }

    .captcha-refresh button {
        padding: 10px 18px;
        font-size: 12px;
        min-height: 44px;
    }

    .payment-logo {
        width: 120px;
        position: static;
        margin: 20px auto 0;
        display: block;
    }

    .pdf-logo {
        max-width: 60px;
    }

    .error-message {
        font-size: 10px;
        margin-top: 3px;
    }

    .success-message {
        font-size: 12px;
        padding: 10px;
    }

    img {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .sidebar {
        padding: 10px 12px;
        gap: 0;
    }

    .logo {
        width: 90px;
        max-width: 90px;
        height: auto;
    }

    .main-content {
        padding: 12px;
        justify-content: flex-start;
    }

    .login-container {
        padding: 16px;
        margin-top: 12px;
        width: 100%;
    }

    .login-container.expanded {
        max-width: 100%;
    }

    .captcha-container {
        padding: 16px;
        margin-top: 12px;
        width: 100%;
    }

    h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .subtitle {
        font-size: 11px;
        margin-bottom: 12px;
    }

    label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="date"],
    input[type="tel"] {
        padding: 9px 10px;
        font-size: 16px;
        min-height: 42px;
        margin-bottom: 1px;
    }

    button {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 42px;
    }

    .button-group {
        gap: 8px;
        margin-top: 20px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .settlement-container {
        padding: 8px 0;
    }

    .example-text {
        font-size: 10px;
        margin-top: 3px;
    }

    .separator {
        margin: 20px 0;
    }

    .separator span {
        padding: 0 10px;
        font-size: 11px;
    }

    .no-account h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .no-account p {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .btn-create {
        padding: 10px;
        font-size: 11px;
        min-height: 42px;
    }

    .settlement-text {
        font-size: 11px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .settlement-info-box {
        padding: 10px;
        margin-bottom: 14px;
    }

    .info-row {
        padding: 8px 0;
        flex-direction: column;
    }

    .info-label {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .info-value {
        font-size: 11px;
    }

    .settlement-amount {
        font-size: 16px;
        margin-top: 3px;
    }

    .settlement-header {
        padding: 8px;
        margin-bottom: 12px;
    }

    .settlement-header h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .notice-list {
        padding: 10px;
        margin-bottom: 14px;
    }

    .notice-list p {
        font-size: 11px;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .receipt {
        padding: 12px;
        margin-top: 18px;
    }

    .receipt-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .receipt-header h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .receipt-header p {
        font-size: 10px;
    }

    .receipt-item {
        padding: 7px 0;
        font-size: 11px;
        flex-direction: column;
    }

    .receipt-item.total {
        padding: 10px 0 7px 0;
        font-size: 12px;
    }

    .payment-logo {
        width: 100px;
        margin: 16px auto 0;
    }

    .loading-container {
        padding: 20px 12px;
    }

    .spinner {
        width: 40px;
        height: 40px;
        margin-bottom: 18px;
    }

    .loading-text {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .loading-step {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .step-indicator {
        width: 18px;
        height: 18px;
        margin-right: 8px;
        font-size: 9px;
    }

    .captcha-question {
        padding: 14px;
        margin-bottom: 16px;
        font-size: 16px;
    }

    .captcha-input {
        padding: 9px 10px;
        font-size: 16px;
        min-height: 42px;
    }

    .captcha-error {
        font-size: 10px;
        padding: 8px;
        margin-bottom: 12px;
    }

    .captcha-btn {
        padding: 10px;
        font-size: 12px;
        margin-bottom: 10px;
        min-height: 42px;
    }

    .pdf-logo {
        max-width: 50px;
    }

    .error-message {
        font-size: 9px;
        margin-top: 2px;
    }

    .success-message {
        font-size: 11px;
        padding: 8px;
    }

    .footer-info {
        margin-top: 16px;
        padding-top: 12px;
        font-size: 10px;
    }

    .info-section {
        margin-bottom: 10px;
    }

    .info-section h4 {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .info-section p {
        font-size: 10px;
        line-height: 1.3;
    }

    .step-indicator {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        font-size: 10px;
    }

    .captcha-question {
        padding: 16px;
        margin-bottom: 20px;
        font-size: 18px;
    }

    .captcha-input {
        padding: 10px 10px;
        font-size: 16px;
        min-height: 40px;
    }

    .captcha-btn {
        padding: 11px;
        font-size: 13px;
        margin-bottom: 12px;
        min-height: 44px;
    }

    .security-info {
        padding: 12px;
        margin-bottom: 18px;
    }

    .security-info p {
        font-size: 11px;
        line-height: 1.4;
    }

    .footer-info {
        margin-top: 24px;
        padding-top: 18px;
        font-size: 11px;
    }

    .info-section {
        margin-bottom: 14px;
    }

    .info-section h4 {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .info-section p {
        font-size: 11px;
        line-height: 1.5;
    }

    .error-message {
        font-size: 10px;
        margin-top: 4px;
    }

    .success-message {
        font-size: 12px;
        padding: 12px;
    }

    .pdf-logo {
        max-width: 60px;
    }

    .captcha-refresh button {
        padding: 9px 16px;
        font-size: 12px;
    }
}
