/* static/css/styles.css */

/* Base styles */

table {
    width: 100%;
    table-layout: fixed;
}

table th, table td {
    text-align: center;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
}
    
table th {
    font-size: 12px;
    background-color: #8fbc8f; /* Dark sea green */
    color: #fff;
}

table td {
    font-size: 12px;
    background-color: #f0e68c; /* Khaki */
}

table td input {
    width: 100%;
    font-size: 12px;
    padding: 2px;
}

table th, table td {
    width: 5%; /* Adjust as needed */
}

h2 {
    margin-top: 20px;
}

.btn {
    margin-top: 10px;
}

/* Body background and text color */
body {
    background-color: #f5f5f0; /* Light beige */
    color: #333; /* Dark gray for text */
}

/* Mobile Recommendation Modal Styles */
.mobile-recommendation-modal {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-recommendation-modal .modal-header {
    padding: 1rem 1rem 0;
}

.mobile-recommendation-modal .modal-body {
    padding: 1rem 2rem 2rem;
}

.mobile-recommendation-modal .modal-icon {
    background: linear-gradient(135deg, #4361ee, #7209b7);
    background: -webkit-linear-gradient(135deg, #4361ee, #7209b7);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.mobile-recommendation-modal .modal-icon i {
    color: white !important;
}

.mobile-recommendation-modal .modal-title {
    color: #2d3436;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.mobile-recommendation-modal .alert-info {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: 1px solid #4361ee20;
    border-radius: 10px;
    color: #2d3436;
}

.mobile-recommendation-modal .btn-primary {
    background: linear-gradient(135deg, #4361ee, #7209b7);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-recommendation-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.mobile-recommendation-modal .btn-outline-secondary {
    border-color: #ddd;
    color: #74b9ff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-recommendation-modal .btn-outline-secondary:hover {
    background-color: #74b9ff;
    border-color: #74b9ff;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .mobile-recommendation-modal .modal-body {
        padding: 1rem 1.5rem 2rem;
    }
    
    .mobile-recommendation-modal .modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .mobile-recommendation-modal .modal-icon i {
        font-size: 2rem !important;
    }
}

/* Button styling */
.btn-primary {
    background-color: #6b8e23; /* Dark olive green */
    border-color: #6b8e23;
}

.btn-primary:hover {
    background-color: #6b8e23; /* Olive drab */
    border-color: #6b8e23;
}

/* styles.css */
.dashboard-btn {
    background-color: #007bff; /* Custom color */
    border: none; /* Removes border */
    color: #fff; /* Text color */
    padding: 8px 16px; /* Padding around text */
    font-size: 1rem; /* Font size */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Slight shadow */
    transition: background-color 0.3s ease; /* Smooth color change */
}

.dashboard-btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
    text-decoration: none; /* Remove underline */
}