/* Custom Alert Modal Styles */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert-box {
    background: #0B1D45;
    /* Brand Navy */
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-alert-overlay.active .custom-alert-box {
    transform: translateY(0);
}

.custom-alert-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.custom-alert-icon.success {
    color: #4ade80;
    /* Green */
    background: rgba(74, 222, 128, 0.15);
}

.custom-alert-icon.error {
    color: #f87171;
    /* Red */
    background: rgba(248, 113, 113, 0.15);
}

.custom-alert-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.custom-alert-message {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 25px;
}

.custom-alert-btn {
    background: #3b82f6;
    /* Brand Blue */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    width: 100%;
}

.custom-alert-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* URL Input Styling (if needed for visual tweaks) */
input[type="url"],
input.url-mask {
    padding-left: 15px !important;
    /* Ensure space isn't too tight */
    font-family: 'Courier New', monospace;
    /* Monospace for code-like feel on URLs */
    letter-spacing: -0.5px;
}

/* FIX: Intl Tel Input Overrides (Force Hide Flag/Dropdown & Fix Alignment) */
.iti {
    width: 100% !important;
    display: block !important;
    margin-bottom: 0px !important;
}

.iti__flag-container {
    display: none !important;
}

.iti input[type="tel"],
.iti input[type="text"],
input[type="tel"].form-control {
    padding-left: 12px !important;
    /* Reset standard bootstrap padding */
    width: 100% !important;
    border-radius: 12px !important;
    /* Ensure border radius consistency */
}

/* Ensure label alignment */
label.form-label {
    display: block;
    margin-bottom: 0.5rem;
}