@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --hp-primary: #1565c0;
    --hp-primary-dark: #1a237e;
    --hp-navy-gradient: linear-gradient(135deg, #1a237e 0%, #283593 40%, #1565c0 100%);
    --hp-card-shadow: 0 16px 40px rgba(21, 101, 192, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hp-header {
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e3ebf2;
}

.hp-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--hp-navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.hp-brand-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--hp-primary-dark);
    letter-spacing: -0.2px;
}

.hp-page {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f0f4f8;
    background-image:
        radial-gradient(at 0% 0%, rgba(21, 101, 192, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(26, 35, 126, 0.08) 0px, transparent 50%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hp-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(220, 230, 240, 0.9);
    box-shadow: var(--hp-card-shadow);
    padding: 44px 36px 36px;
    position: relative;
    overflow: hidden;
}

.hp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--hp-navy-gradient);
}

.hp-logo-wrap {
    text-align: center;
    margin-bottom: 12px;
}

.hp-logo-wrap img {
    width: 180px;
    max-width: 100%;
    max-height: 90px;
    height: auto;
    object-fit: contain;
}

.hp-intro {
    font-size: 14px;
    color: #546e7a;
    line-height: 1.5;
    margin: 0 0 28px 0;
    text-align: center;
}

.hp-form-group {
    margin-bottom: 20px;
}

.hp-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #546e7a;
    margin-bottom: 8px;
}

.hp-label i {
    color: var(--hp-primary);
    font-size: 12px;
}

.hp-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    color: #263238;
    background: #f8fafc;
    border: 1.5px solid #dce6ef;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2390a4ae' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.hp-select:focus {
    background-color: #ffffff;
    border-color: var(--hp-primary);
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.12);
}

.hp-location-status {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #90a4ae;
}

.hp-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--hp-primary);
    background: none;
    border: none;
    cursor: pointer;
}

.hp-location-btn[hidden] {
    display: none;
}

.hp-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hp-btn-submit {
    width: 100%;
    height: 48px;
    background: var(--hp-navy-gradient);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.3);
    transition: all 0.22s ease;
    margin-top: 8px;
}

.hp-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.4);
}

.hp-btn-submit:active {
    transform: translateY(0);
}

@media screen and (max-width: 576px) {
    .hp-page {
        align-items: flex-start;
        padding: 28px 16px;
    }

    .hp-card {
        padding: 32px 24px 28px;
    }
}

.hp-thankyou-card {
    text-align: center;
}

.hp-thankyou-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.hp-thankyou-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-primary-dark);
    letter-spacing: -0.3px;
    margin: 0 0 12px 0;
}

.hp-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hp-btn-link:hover {
    text-decoration: none;
}

.hp-error-icon--warning {
    background: #fff3e0;
    color: #e65100;
}

.hp-error-icon--danger {
    background: #ffebee;
    color: #c62828;
}

.hp-error-icon--muted {
    background: #eceff1;
    color: #455a64;
}

.hp-error-code {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #90a4ae;
    text-transform: uppercase;
    margin: 0 0 6px 0;
}
