/* Bootstrap Custom Theme for SDLC Project Management */

/* Import Bootstrap CDN - we'll use the CDN version */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

:root {
    /* Primary colors matching current theme */
    --bs-primary: #3498db;
    --bs-primary-rgb: 52, 152, 219;
    --bs-secondary: #2c3e50;
    --bs-secondary-rgb: 44, 62, 80;
    --bs-success: #2ecc71;
    --bs-success-rgb: 46, 204, 113;
    --bs-danger: #e74c3c;
    --bs-danger-rgb: 231, 76, 60;
    --bs-warning: #f39c12;
    --bs-warning-rgb: 243, 156, 18;
    --bs-info: #3498db;
    --bs-info-rgb: 52, 152, 219;
    --bs-light: #f5f5f5;
    --bs-light-rgb: 245, 245, 245;
    --bs-dark: #2c3e50;
    --bs-dark-rgb: 44, 62, 80;
    
    /* Custom application colors */
    --app-primary: #3498db;
    --app-primary-hover: #2980b9;
    --app-secondary: #2c3e50;
    --app-background: #f5f5f5;
    --app-card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --app-border-radius: 8px;
    --app-transition: all 0.3s ease;
}

/* Override Bootstrap primary colors */
.btn-primary {
    background-color: var(--app-primary);
    border-color: var(--app-primary);
    color: white;
    transition: var(--app-transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--app-primary-hover);
    border-color: var(--app-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-outline-primary {
    color: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-outline-primary:hover {
    background-color: var(--app-primary);
    border-color: var(--app-primary);
    transform: translateY(-2px);
}

/* Custom card styling */
.card {
    border: none;
    border-radius: var(--app-border-radius);
    box-shadow: var(--app-card-shadow);
    transition: var(--app-transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--app-primary);
    color: white;
    border-radius: var(--app-border-radius) var(--app-border-radius) 0 0;
    border-bottom: none;
}

/* Project card specific styling */
.project-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card.active {
    border: 2px solid var(--app-primary);
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .project-title {
    color: var(--app-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card .project-details {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-card .project-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.project-card .project-actions .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.badge.active-project {
    background-color: var(--bs-success);
    color: white;
}

/* Modal styling */
.modal-content {
    border: none;
    border-radius: var(--app-border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: var(--app-primary);
    color: white;
    border-radius: var(--app-border-radius) var(--app-border-radius) 0 0;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Form styling */
.form-control:focus {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    color: var(--app-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Alert styling */
.alert-primary {
    color: #1a5490;
    background-color: #d1ecf1;
    border-color: var(--app-primary);
}

/* Navigation styling */
.navbar-brand {
    font-weight: 600;
    color: var(--app-secondary);
}

/* Loading spinner */
.spinner-border-primary {
    color: var(--app-primary);
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state .empty-title {
    color: var(--app-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-state .empty-description {
    margin-bottom: 2rem;
}

/* Responsive grid improvements */
@media (max-width: 768px) {
    .project-card .project-actions {
        flex-direction: column;
    }
    
    .project-card .project-actions .btn {
        width: 100%;
        margin-bottom: 0.25rem;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo integration */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    margin : 1rem;
}

    


.logo {
    height: 60px;
    width: auto;
}

.ai-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--app-primary);
    margin-left: 0.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Utility classes */
.text-muted-custom {
    color: #666 !important;
}

.shadow-custom {
    box-shadow: var(--app-card-shadow) !important;
}

.border-radius-custom {
    border-radius: var(--app-border-radius) !important;
}

/* Form validation styling */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Modal alert container */
.modal-alert-container {
    margin-bottom: 1rem;
}

.modal-alert-container .alert {
    margin-bottom: 0;
}

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

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

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