.activate-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
/*     margin: 20px 0; */
}

.activate-btn-new {
    padding: 12px 24px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.3s !important;
    background-color: #E76B38 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
	color: #fff !important;
	font-size: 15px !important;
	line-height: 1 !important;
	fill: #fff !important;
	text-align: cente !important;
}




.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    height: 150px;
    resize: vertical;
}

.word-count {
    font-size: 12px;
    color: #666;
    text-align: right;
}

.btn {
    padding: 10px 15px;
    background-color: #E76B38 !important ;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: #f44336;
}

.btn-secondary:hover {
    background-color: #d32f2f;
}

.error-message {
    color: #f44336;
    margin-top: 5px;
    font-size: 14px;
}

.success-message {
    background: #fff;
    border: 2px solid #E76B38;
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(231,107,56,0.15);
}

#successText {
    color: #E76B38 !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
#success_email{
    color: #E76B38 !important ;
	
}

.close{
	display :none;
}
.activator_overlay{
	position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    display: none;
}
#success_password{
    color: #E76B38 !important ;
	
}
.logged-in-text{
    text-align: center;
}

.thankyou-message {
    color: #E76B38 !important ;
    font-size: 18px;
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #E76B38 !important ;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.hidden {
    display: none;
}

.action-buttons {
    margin-top: 20px;
    text-align: center;
}

.iti {
    width: 100%;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
    
    .activate-btn-new {
        padding: 10px 15px;
        font-size: 14px;
		width:100%;
		position: fixed;
		top: 0;
		left: 0;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        padding: 8px;
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        width: 98%;
        padding: 10px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    label {
        font-size: 14px;
    }
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

/* Loading Spinner Styles */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Button Loading States */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Specific button loading styles */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Alternative loading styles for different button types */
.btn-primary.btn-loading::after {
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
}

.btn-secondary.btn-loading::after {
    border: 2px solid #6c757d;
    border-top: 2px solid transparent;
}

.btn-success.btn-loading::after {
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
}

.btn-danger.btn-loading::after {
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
}

/* Loading text styles */
.loading-text {
    font-size: 14px;
    color: #666;
    margin-left: 4px;
    vertical-align: middle;
}

/* Pulse animation for loading text */
@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.5; 
    }
}

.loading-text {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Loading overlay for forms (optional) */
.form-loading-overlay {
    position: relative;
}

.form-loading-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    display: none;
}

.form-loading-overlay.loading::before {
    display: block;
}

.form-loading-overlay.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

/* Responsive loading spinner sizes */
@media (max-width: 768px) {
    .loading-spinner {
        width: 14px;
        height: 14px;
        border-width: 1.5px;
        margin-right: 6px;
    }
    
    .btn-loading::after {
        width: 14px;
        height: 14px;
        margin-left: -7px;
        margin-top: -7px;
        border-width: 1.5px;
    }
}

/* Loading states for specific activation buttons */
#verifyCodeBtn.loading,
#submitActivationBtn.loading,
#confirmDeactivateBtn.loading,
#confirmChangeBtn.loading {
    min-width: 120px; /* Prevent button width changes */
    transition: all 0.2s ease;
}

/* Smooth transitions */
button {
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

/* Loading dots animation (alternative) */
@keyframes loading-dots {
    0%, 20% {
        color: rgba(0, 0, 0, 0);
        text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0),
                     0.5em 0 0 rgba(0, 0, 0, 0);
    }
    40% {
        color: black;
        text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0),
                     0.5em 0 0 rgba(0, 0, 0, 0);
    }
    60% {
        text-shadow: 0.25em 0 0 black,
                     0.5em 0 0 rgba(0, 0, 0, 0);
    }
    80%, 100% {
        text-shadow: 0.25em 0 0 black,
                     0.5em 0 0 black;
    }
}

.loading-dots::after {
    content: "...";
    animation: loading-dots 1.5s infinite;
    margin-left: 4px;
}

/* Custom loading styles for modal buttons */
.modal .btn.loading {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
}

/* Prevent text selection during loading */
.loading-spinner,
.loading-text,
.btn-loading {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Loading state for file upload buttons */
input[type="file"]:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Accessibility improvements */
.loading-spinner[aria-hidden="true"] {
    speak: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .loading-spinner {
        border-color: #000000;
        border-top-color: #ffffff;
    }
    
    .btn-loading::after {
        border-color: #000000;
        border-top-color: transparent;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .loading-spinner,
    .btn-loading::after,
    .form-loading-overlay.loading::after {
        animation: none;
    }
    
    .loading-spinner::after {
        content: "⏳";
        border: none;
        animation: none;
    }
}
.user_time_calculation{
	display:flex;
	justify-content:center;
}

