.t-pt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.t-pt-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.t-pt-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.t-pt-modal-content {
    position: relative;
    background-color: var(--t-pt-white);
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.t-pt-modal.hidden .t-pt-modal-content {
    transform: translateY(20px);
}

.t-pt-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--t-pt-gray);
    cursor: pointer;
    transition: color 0.2s ease;
}

.t-pt-modal-close:hover {
    color: var(--t-pt-dark);
}

.t-pt-modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--t-pt-dark);
    margin-bottom: 0.5rem;
}

.t-pt-modal-subtitle {
    color: var(--t-pt-gray);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.t-pt-form-group {
    margin-bottom: 1.25rem;
}

.t-pt-form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--t-pt-dark);
    margin-bottom: 0.5rem;
}

.t-pt-form-group input,
.t-pt-form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    color: var(--t-pt-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.t-pt-form-group input:focus,
.t-pt-form-group select:focus {
    outline: none;
    border-color: var(--t-pt-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.t-pt-form-group .iti {
    width: 100% !important;
}

.t-pt-form-group .invalid {
    border-color: #ef4444 !important;
}

.t-pt-btn-full {
    width: 100%;
    justify-content: center;
}

.t-pt-validation-message {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
    display: none;
}

.t-pt-validation-message.active {
    display: block;
}

.hidden {
    display: none !important;
}

@media (max-width: 480px) {
    .t-pt-modal-content {
        padding: 2rem 1.5rem;
    }
    .t-pt-modal-title {
        font-size: 1.5rem;
    }
}

/* Premium Submit Button */
.t-pt-submit-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    border: none !important;
    padding: 1.25rem !important;
    border-radius: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.025em;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.t-pt-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4), 0 10px 10px -5px rgba(37, 99, 235, 0.1) !important;
    filter: brightness(1.1);
}

.t-pt-submit-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.t-pt-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #9ca3af !important;
    box-shadow: none !important;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

