/* Form styles */
.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-select,
.form-control {
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.15);
}

/* Checkbox styles */
.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input {
    border-color: rgba(108, 92, 231, 0.3);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

/* Ingredient tag styles */
.ingredient-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 1rem;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.ingredient-tag:hover {
    background: rgba(108, 92, 231, 0.15);
    transform: translateY(-1px);
}

.ingredient-text {
    margin-right: 0.5rem;
}

.remove-ingredient {
    background: none;
    border: none;
    color: #666;
    font-size: 1.1rem;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.remove-ingredient:hover {
    color: #dc3545;
}

/* Notification styles */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 350px;
}

.notification-toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    overflow: hidden;
    animation: slide-in 0.3s ease forwards;
}

.notification-toast.status {
    border-left: 4px solid var(--primary-color);
}

.notification-toast.error {
    border-left: 4px solid #dc3545;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.notification-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.25rem;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #666;
}

.notification-body {
    padding: 0.75rem 1rem;
}

.notification-body p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.notification-body small {
    color: #999;
    font-size: 0.8rem;
}

/* Card and loading styles */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-body {
    padding: 2rem;
}

#loading {
    text-align: center;
    padding: 3rem 0;
}

#loading .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color) !important;
}

#loading p {
    margin-top: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Animations */
.fade-out {
    animation: fade-out 0.3s ease forwards;
}

@keyframes slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .form-label {
        font-size: 0.9rem;
    }
    
    #ingredients-list .badge {
        font-size: 0.8rem;
    }
    
    #start-cooking {
        padding: 0.75rem;
        font-size: 1rem;
    }
} 