/* GTA License Modal - Overlay */
#gta-license-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

#gta-license-overlay.gta-active {
    display: flex;
}

/* Modal box */
#gta-license-modal {
    background: #ffffff;
    border-radius: 8px;
    padding: 35px 30px 25px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: gtaModalIn 0.2s ease;
}

@keyframes gtaModalIn {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* Close button */
#gta-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
#gta-modal-close:hover {
    color: #333;
}

/* Heading */
#gta-license-modal h3 {
    font-size: 18px;
    font-weight: 700;
    color: #cc0000;
    margin: 0 0 10px;
}

/* Sub text */
#gta-license-modal p {
    font-size: 13px;
    color: #666;
    margin: 0 0 18px;
}

/* Input */
#gta_license_input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px;
    transition: border-color 0.2s;
    outline: none;
}
#gta_license_input:focus {
    border-color: #cc0000;
}
#gta_license_input.gta-error {
    border-color: #cc0000;
}

/* Error message */
#gta-license-error {
    display: none;
    color: #cc0000;
    font-size: 12px;
    margin-bottom: 12px;
    text-align: left;
}

/* Submit button */
#gta-license-submit {
    background: #cc0000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s;
}
#gta-license-submit:hover {
    background: #aa0000;
}
#gta-license-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Cancel button */
#gta-license-cancel {
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}
#gta-license-cancel:hover {
    color: #333;
}
