/* Custom Support Form Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.csf-form-container {
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.csf-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.csf-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

@media (min-width: 768px) {
    .csf-form-title {
        font-size: 3rem;
    }
}

.csf-form-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 1rem 0 0 0;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .csf-form-description {
        font-size: 1.25rem;
    }
}

.csf-form-wrapper {
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .csf-form-wrapper {
        padding: 3rem;
    }
}

.csf-progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.csf-step-counter {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
}

.csf-progress-bar {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 0.625rem;
    margin-bottom: 2rem;
}

.csf-progress-fill {
    background-color: #2563eb;
    height: 0.625rem;
    border-radius: 9999px;
    transition: all 0.5s ease-in-out;
}

.csf-form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.csf-form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.csf-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.csf-step-description {
    color: #6b7280;
    margin-bottom: 1rem;
    margin-top: -1rem;
}

.csf-step-button {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.csf-step-button:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.csf-step-button:focus {
    outline: none;
	border-color: #3b82f6!important;
    background-color: #eff6ff!important;
    ring: 2px;
    ring-color: #3b82f6;
    ring-opacity: 0.5;
}

.csf-step-button.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.csf-step-button span {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
}

.csf-categories {
    margin-bottom: 1.5rem;
}

.csf-category-button {
    width: 100%;
    text-align: left;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
	color:#1f2937;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.csf-category-button:hover,.csf-category-button:focus {
    border-color: #3b82f6;
    background-color: #eff6ff;
	color:#1f2937;
}
.csf-category-button.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
}
.csf-support-options {
    display: none;
    margin-bottom: 1rem;
    border-left: 4px solid #dbeafe;
    padding-left: 1rem;
}

.csf-support-options.visible {
    display: block;
}

.csf-support-options label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.csf-support-checkbox {
    height: 1.25rem;
    width: 1.25rem;
    margin-right: 0.75rem;
    accent-color: #2563eb;
}

.csf-checkbox-label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.csf-checkbox-label:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.csf-funding-checkbox {
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 1rem;
    accent-color: #2563eb;
}

.csf-input-group {
    margin-bottom: 1rem;
}

.csf-input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.csf-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.csf-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.csf-shift-entry {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    position: relative;
}

.csf-shift-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .csf-shift-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.csf-add-shift-button {
    width: 100%;
    color: #2563eb;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.csf-add-shift-button:hover {
    background-color: #eff6ff;
    border-color: #2563eb;
}

.csf-remove-shift-button {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    height: 1.5rem;
    width: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.csf-remove-shift-button:hover {
    background: #dc2626;
}

.csf-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.csf-back-button,
.csf-next-button,
.csf-submit-button {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.csf-back-button {
    color: #374151;
    background: white;
    border: 1px solid #d1d5db !important;
}

.csf-back-button:hover {
    background-color: #f9fafb;
}

.csf-next-button,
.csf-submit-button {
    color: white;
    background: #2563eb;
}

.csf-next-button:hover:not(:disabled),
.csf-submit-button:hover:not(:disabled) {
    background: #1d4ed8;
}

.csf-next-button:disabled,
.csf-submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.csf-thank-you {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: "Inter", sans-serif;
}

.csf-thank-you:not(.hidden) {
    display: flex;
}

.csf-thank-you-content {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
}

@media (min-width: 640px) {
    .csf-thank-you-content {
        padding: 3rem;
    }
}

.csf-success-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto;
    color: #10b981;
}

.csf-thank-you-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1.5rem 0 0 0;
}

.csf-thank-you-message {
    color: #6b7280;
    margin: 1rem 0 0 0;
    font-size: 1.125rem;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Error states */
.csf-input.error {
    border-color: #ef4444;
}

.csf-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading state */
.csf-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .csf-form-container {
        padding: 1rem 0.5rem;
    }
    
    .csf-form-wrapper {
        padding: 1.5rem;
    }
    
    .csf-form-title {
        font-size: 2rem;
    }
    
    .csf-step-title {
        font-size: 1.25rem;
    }
    
    .csf-navigation {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .csf-back-button,
    .csf-next-button,
    .csf-submit-button {
        width: 100%;
    }
}
