﻿.signup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(5px);
    z-index: 9999;
}

.signup-modal {
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    position: relative;
    width: min(380px, 90vw);
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .10);
    max-height: 88vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .signup-modal::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: #0d6dbf;
    }

.signup-title {
    font-size: 25px;
    font-weight: 700;
}

.signup-subtitle {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 20px;
}

.signup-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #0d6dbf;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
}

    .signup-btn:hover:not(:disabled) {
        opacity: .9;
    }

    .signup-btn:disabled {
        background: #c3c9d1;
        color: #767f8c;
        cursor: not-allowed;
    }

.phone-input-wrap .phone-prefix {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    pointer-events: none;
}

.phone-input-wrap input.phone-local-input {
    padding-left: 76px;
}

.signin-text {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}

.signin-link {
    border: none;
    background: none;
    font-size: 12px;
    color: #0d6dbf;
    font-weight: 600;
    cursor: pointer;
}

.terms-text {
    margin-top: 14px;
    font-size: 11px;
    color: #777;
    text-align: center;
}

.signup-modal::-webkit-scrollbar {
    display: none;
}
