/* Global Styles */
body {
    font-family: 'Circular', 'Avenir', sans-serif;
    background-color: #F8F8F8;
    color: #222222;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.navbar {
    background-color: white;
    padding: 16px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 16px;
}

/* Sidebar */
.sidebar {
    background-color: white;
    width: 250px;
    height: 100vh;
    padding: 20px;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    left: 0;
    top: 0;
}

/* Main Content */
.main-content {
    margin-left: 270px; /* Push content to the right to avoid overlap */
    padding: 20px;
    flex-grow: 1;
    max-width: calc(100% - 270px); /* Prevents content from being too wide */
}

.sidebar a {
    display: block;
    padding: 12px;
    border-radius: 8px;
    color: #222222;
    text-decoration: none;
    font-weight: 500;
}

.sidebar a:hover {
    background-color: #F0F0F0;
}

/* Buttons */
.btn-primary {
    background-color: #FFDD00;
    color: #222222;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #E5C600;
}

.btn-secondary {
    background-color: #F0F0F0;
    color: #717171;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #E0E0E0;
}

/* Cards */
.card {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    margin: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0; /* Remove margin on smaller screens */
        padding: 20px;
    }
}

.comp-logo {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 5px;
}

/* Success & Error Messages */
.success-message {
    color: green;
    font-weight: bold;
    margin: 10px 0;
}

.error-message {
    color: red;
    font-weight: bold;
    margin: 10px 0;
}

.hero {
	text-align: center;
	padding: 80px 20px;
	background-color: #FFDD00;
	color: #222;
	border-radius: 12px;
	margin: 20px;
}

.hero h1 {
	font-size: 40px;
	margin-bottom: 10px;
}

.hero p {
	font-size: 18px;
	margin-bottom: 20px;
}

.faq-section {
	margin: 20px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.faq-item {
	background: white;
	padding: 15px;
	margin-bottom: 10px;
	border-radius: 8px;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
	cursor: pointer;
}

.faq-item h3 {
	margin: 0;
	font-size: 18px;
}

.faq-answer {
	display: none;
	padding-top: 10px;
	color: #555;
}

/* Table Styles */
.table-container {
    width: 100%;
    overflow-x: auto; /* Allows scrolling on smaller screens */
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 12px; /* Add spacing */
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #FFDD00;
    font-weight: bold;
}

tr:hover {
    background-color: #f5f5f5; /* Hover effect */
}

@media (max-width: 768px) {
    th, td {
        padding: 10px;
        font-size: 14px;
    }
}

/* Danger Button (Unfriend) */
.btn-danger {
    background-color: #d9534f;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.btn-danger:hover {
    background-color: #c9302c;
}

/* Error Messages */
.error-message {
    color: red;
    font-weight: bold;
    margin: 10px 0;
    padding: 10px;
    background-color: #ffebeb;
    border: 1px solid red;
    border-radius: 5px;
}

textarea {
  width: 300px;
  height: 150px;
}

/* Logo Styling */
.logo-container {
    text-align: center;
    padding: 15px 0;
}

.logo-container img {
    width: 150px; /* Adjust size as needed */
    max-width: 80%;
    height: auto;
}