/* Import a beautiful font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

/* Login & Register Page Background */
.login-register-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(120deg, #a1c4fd, #c2e9fb);
}

.login-register-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1.5rem;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.btn-primary, .btn-success {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border: none;
    color: #333;
}

.btn-primary:hover, .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Dashboard Styling */
.dashboard-header {
    border-radius: 15px;
    color: white;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.dashboard-card .card-title {
    font-weight: 600;
    color: #333;
}

/* Home Page Jumbotron */
.jumbotron-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 3rem;
}

/* Custom Alert Messages for AJAX */
.alert-custom {
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid transparent;
}

.alert-success-custom {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error-custom {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}