/* Basic styling voor portfolio tracker */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    margin-bottom: 10px;
    background-color: #101014;
    color: #e0e0e0;
}

/* Moderne Container Styling */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 420px;
    background-color: #181828;
}

.main-content {
    background: #181828;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

/* Header Styling met Gradient */
.portfolio-header {
    background: linear-gradient(135deg, #0047ab, #6a11cb);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.portfolio-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

h1, h2, h3 {
    color: #333;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
        /* min-height hoort niet direct in .container, dus verwijderd */
}

button, .btn {
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #004494);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0055aa, #003b7e);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496, #0f6674);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
}

.errors {
    background-color: #ffecec;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Verbeterde Navigatie Styling */
.navbar {
    background-color: #2c3e50;
    padding: 0.7rem 1rem;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand {
    font-weight: 600;
    color: white;
    font-size: 1.3rem;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.8rem 1rem;
    margin: 0 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.navbar .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.navbar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar .nav-link i {
    margin-right: 6px;
}

.navbar .user-info {
    color: #66ccff;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 15px;
    margin-right: 5px;
}

.navbar .logout-btn {
    color: #ff7675;
}

.navbar .logout-btn:hover {
    background-color: rgba(255, 118, 117, 0.2);
}

/* Verbeterde Dashboard Styling */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 25px;
}

.dashboard-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-top: 4px solid #0066cc;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-card h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Footer styling */
.footer {
    background-color: #2c3e50;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 40px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.footer p {
    opacity: 0.8;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

/* Card styling improvements */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 20px;
    font-weight: 600;
    color: #2c3e50;
}


/* Tabel styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Zet dashboard cards onder elkaar in de dashboard */
.dashboard-header + .container .row {
    flex-direction: column !important;
}
