﻿/* Reset for no scroll */
body, html {
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.mobile-verify-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 5px;
    background: #f5f7fa;
    box-sizing: border-box;
    overflow-y: auto;
}

.mobile-verify-container {
    width: 100%;
    max-width: 340px;
    margin: auto;
    padding: 5px 0;
}

.app-logo {
    text-align: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

    .app-logo img {
        max-height: 32px;
        max-width: 140px;
        object-fit: contain;
    }

.mobile-verify-panel {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.panel-header {
    background: linear-gradient(135deg, #0C4930 0%, #072b1c 100%);
    color: white;
    padding: 14px 12px;
    text-align: center;
}

.sms-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

    .sms-icon i {
        font-size: 20px;
    }

.panel-header h1 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.panel-header p {
    margin: 0;
    font-size: 11px;
    opacity: 0.9;
    line-height: 1.2;
}

.panel-body {
    padding: 16px 12px;
}

.info-box {
    background: #f0f7f4;
    border: 1px solid #a8d5bc;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 14px;
    text-align: left;
}

    .info-box h4 {
        margin: 0 0 4px 0;
        color: #0C4930;
        font-size: 12px;
        display: flex;
        align-items: center;
    }

        .info-box h4 i {
            margin-right: 5px;
            font-size: 12px;
        }

    .info-box p {
        margin: 0;
        color: #666;
        font-size: 11px;
        line-height: 1.3;
    }

.current-mobile-section {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 14px;
}

.section-label {
    font-size: 10px;
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

    .section-label i {
        margin-right: 5px;
        font-size: 11px;
    }

.current-mobile {
    font-size: 14px;
    font-weight: 700;
    color: #0C4930;
    margin: 3px 0;
}

.mobile-note {
    font-size: 10px;
    color: #666;
    margin-top: 4px;
    display: flex;
    align-items: flex-start;
    line-height: 1.2;
}

    .mobile-note i {
        margin-right: 4px;
        color: #0C4930;
        font-size: 11px;
        flex-shrink: 0;
        margin-top: 1px;
    }

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #333;
    font-size: 11px;
    display: flex;
    align-items: center;
}

    .form-label i {
        margin-right: 4px;
        font-size: 12px;
        color: #0C4930;
    }

.input-with-counter {
    position: relative;
}

.digit-counter {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #999;
    background: white;
    padding: 1px 3px;
    border-radius: 2px;
    border: 1px solid #eee;
    font-weight: 500;
    pointer-events: none;
}

.form-control {
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    padding-right: 50px;
    font-size: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

    .form-control:focus {
        border-color: #0C4930;
        box-shadow: 0 0 0 2px rgba(12, 73, 48, 0.1);
        outline: none;
    }

    .form-control::placeholder {
        color: #999;
        font-family: inherit;
        font-size: 11px;
    }

.field-instruction {
    font-size: 10px;
    color: #666;
    margin-top: 3px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

    .field-instruction i {
        margin-right: 4px;
        color: #0C4930;
        font-size: 11px;
    }

.format-example {
    background: #f8f9fa;
    border-radius: 3px;
    padding: 6px;
    margin-top: 6px;
    font-size: 10px;
    color: #666;
    line-height: 1.2;
}

    .format-example code {
        background: #e9ecef;
        padding: 1px 3px;
        border-radius: 2px;
        font-family: 'Courier New', monospace;
        color: #0C4930;
        font-weight: 600;
        font-size: 9px;
    }

.send-button {
    width: 100%;
    height: 36px;
    background: linear-gradient(135deg, #0C4930 0%, #072b1c 100%);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
}

    .send-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(12, 73, 48, 0.2);
    }

    .send-button:active {
        transform: translateY(0);
    }

    .send-button i {
        margin-right: 5px;
        font-size: 12px;
    }

.back-link {
    text-align: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

    .back-link a {
        color: #0C4930;
        text-decoration: none;
        font-size: 11px;
        display: inline-flex;
        align-items: center;
        transition: color 0.2s ease;
    }

        .back-link a:hover {
            color: #072b1c;
            text-decoration: underline;
        }

        .back-link a i {
            margin-right: 3px;
            font-size: 10px;
        }

.validation-summary-errors {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    padding: 6px 10px;
    margin-bottom: 12px;
    color: #c33;
    font-size: 11px;
    line-height: 1.2;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 14px;
    }

    .validation-summary-errors li {
        margin-bottom: 2px;
    }

        .validation-summary-errors li:last-child {
            margin-bottom: 0;
        }

.validation-summary-valid {
    display: none !important;
}

.text-danger {
    color: #dc3545;
    font-size: 10px;
    margin-top: 2px;
    display: block;
}

/* Ultra compact spacing */
.panel-body form > *:not(:last-child) {
    margin-bottom: 14px;
}

/* Force visibility of last elements */
.panel-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.send-button-container {
    margin-top: auto;
}

.back-link-container {
    margin-top: auto;
}
