@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background: #111;
    color: white;
    padding: 20px;
    margin: 0;
}

h1 {
    color: #fff;
    text-align: center;
    font-weight: 600;
}

/* Container for forms & tables */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #1c1c1c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #1a1a1a;
    color: white;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background: #2a2a2a;
    color: #eee;
}

tr:hover {
    background: #2e2e2e;
}

/* Profile images in the presenters table */
img {
    object-fit: cover;
}

.presenterimagesmall {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Buttons */
.btn {
    padding: 10px 16px;
    background: transparent;
    border: 2px solid #888;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.edit-btn {
    border-color: #888;
    color: #fff;
}

.edit-btn:hover {
    background: #e0e0e0;
    color: #000;
    border-color: #e0e0e0;
}

.delete-btn {
    border-color: #ff4d4d;
    color: #ff4d4d;
}

.delete-btn:hover {
    background: #ff4d4d;
    color: white;
}

/* Form Elements */
label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #444;
    background: #222;
    color: white;
    border-radius: 5px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #777;
}

textarea {
    height: 100px;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    background: #1a1a1a;
    color: white;
    height: 100vh;
    padding: 20px;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    width: 120px;
    max-width: 100%;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.sidebar ul li {
    width: 100%;
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    padding: 10px;
    display: block;
    text-align: center;
    background: #2a2a2a;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar ul li a:hover {
    background: #444;
}

/* Content margin for sidebar layout */
.main-content {
    margin-left: 270px;
    padding: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 220px;
    }

    img.presenterimagesmall {
        width: 40px;
        height: 40px;
    }
}


/* General link styling */
a {
    color: #ccc; /* Light grey default */
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

/* Hover effect */
a:hover {
    color: #fff; /* White on hover */
    border-bottom: 2px solid #fff; /* Subtle underline effect */
}

/* Active / Clicked state */
a:active {
    color: #aaa; /* Slightly darker grey */
}

/* Visited link styling (optional) */
a:visited {
    color: #bbb;
}

/* Bold styling for important links */
a.strong {
    font-weight: 600;
}

/* Styling for buttons that are links */
a.btn {
    padding: 10px 16px;
    background: transparent;
    border: 2px solid #888;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    text-align: center;
}

a.btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}