/* User Create Page Styles */
.user-create-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Form styling */
.form-label {
    font-weight: 600;
    color: #495057;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Card styling */
.create-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.create-card:hover {
    transform: translateY(-5px);
}

.create-card .card-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

.create-card .card-header h5 {
    margin: 0;
    font-weight: 600;
}

/* Progress bar styling */
.progress-container {
    position: relative;
    margin: 2rem 0;
}

.progress-label {
    position: absolute;
    top: -25px;
    left: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-indicator {
    height: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Quick actions buttons */
.quick-action-btn {
    border: 2px dashed #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
    padding: 1rem;
}

.quick-action-btn:hover {
    border-color: #0d6efd;
    background: #f8f9fa;
    color: #0d6efd;
    transform: scale(1.02);
}

.quick-action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Requirements list */
.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list .bi-check {
    margin-right: 0.5rem;
}

/* Test data modal */
.test-data-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.test-data-modal .modal-header {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #495057;
}

/* Password generator modal */
.password-generator-modal .modal-content {
    border-radius: 15px;
}

.password-generator-modal .modal-header {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .create-card {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .create-card .card-body {
        padding: 1rem;
    }
    
    .quick-action-btn {
        margin-bottom: 1rem;
    }
}

/* Animation for success state */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-complete {
    animation: pulse 2s infinite;
}

/* Tooltip styling */
.tooltip-inner {
    max-width: 300px;
    padding: 0.5rem 1rem;
    background-color: #495057;
    border-radius: 0.375rem;
}

/* Custom switch */
.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
}

.form-switch .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Social media input groups */
.social-input-group .input-group-text {
    min-width: 40px;
    justify-content: center;
    background-color: #f8f9fa;
    border-right: none;
}

.social-input-group .form-control {
    border-left: none;
}

/* Loading state */
.loading {
    position: relative;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Validation states */
.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

  .required-field::after {
        content: " *";
        color: #dc3545;
    }
    
    .form-section {
        border-left: 4px solid #0d6efd;
        padding-left: 1rem;
        margin-bottom: 2rem;
    }
    
    .form-section h5 {
        color: #0d6efd;
    }