/* Create Project Form Styles */

.card {
    border: 1px solid var(--theme-border-color);
    background: var(--theme-surface-1, var(--theme-bg-primary));
    box-shadow: var(--theme-shadow);
}

.card-header {
    background: var(--theme-success) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.card-header h3 {
    color: white;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: var(--theme-text-primary);
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: " *";
    color: var(--theme-danger);
}

.form-control,
.form-select {
    background: var(--theme-surface-1, var(--theme-bg-primary));
    color: var(--theme-text-primary);
    border: 1px solid var(--theme-border-color);
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--theme-surface-1, var(--theme-bg-primary));
    color: var(--theme-text-primary);
    border-color: var(--theme-success);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.form-control::placeholder {
    color: var(--theme-text-muted);
    opacity: 0.8;
}

.form-text {
    color: var(--theme-text-muted) !important;
    font-size: 0.875rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--theme-text-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.alert-info ul {
    padding-left: 1.25rem;
}

.alert-info li {
    margin-bottom: 0.25rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--theme-text-primary);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Date input styling */
input[type="date"] {
    padding-right: 0.375rem;
}

/* Button spacing */
.btn + .btn {
    margin-left: 0.5rem;
}

/* Validation styles */
.field-validation-error,
.text-danger {
    color: var(--theme-danger) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: var(--theme-danger) !important;
}

/* Loading state */
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Project goals section */
.project-goals {
    background: var(--theme-surface-2, var(--theme-bg-secondary));
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1.25rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between .btn {
        width: 100%;
    }
    
    .row .col-md-6 {
        margin-bottom: 1rem;
    }
}