/* --- General Body Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f7f6; /* Light gray background for a clean look */
    color: #333;
}

/* --- Navigation Bar --- */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #ffffff !important;
}

.navbar-brand {
    font-weight: bold;
    color: #0056b3 !important;
}

/* --- Login and Registration Form Container --- */
.form-container {
    max-width: 500px;
    margin: 5rem auto;
    padding: 30px 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

/* --- Buttons --- */
.btn {
    border-radius: 5px;
    padding: 10px 15px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px); /* Slight lift effect on hover */
}

/* --- Dashboard Cards --- */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.card .card-header {
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: none;
    background-color: transparent;
}

.card .card-body .card-title {
    font-size: 2.5rem;
    font-weight: 700;
}

/* --- Link Generator Page --- */
#referralLink {
    font-size: 1.1rem;
    background-color: #e9ecef; /* Make it look readonly */
    border: 1px solid #ced4da;
    color: #495057;
}

/* --- Table Styling for Responses and Reports --- */
.table-responsive {
    margin-top: 20px;
}

.table thead th {
    background-color: #343a40; /* Dark header for tables */
    color: #ffffff;
    border-bottom: none;
}

.table tbody tr:nth-child(even) {
    background-color: #f8f9fa; /* Zebra striping for readability */
}

.table-bordered {
    border-radius: 5px;
    overflow: hidden; /* To apply border-radius to table corners */
}