/* General Styling for Admin Dashboard */
body {
    background-color: #000; /* Black background */
    color: white; /* White text for readability */
    margin: 0;
    padding: 80px;
    font-family: Rajdhani, sans-serif;
}

/* Header Section */
.admin-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    margin-top: 80px;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 10px 20px;
}

/* Logo */
.header-logo img {
    width: 100px;
    height: 100px;
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 1001;
}

/* Container for Content */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto 40px;
    padding: 20px 20px 20px;
    text-align: center;
    background-color: #111;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.admin-navbar {
    position: fixed;
    right: 20px;
    top: 10px;
    z-index: 1001;
    display: flex;
    gap: 15px;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

/* Navbar Link Styling */
.nav-links a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00aced;
}

.nav-links a.active {
    color: #00aced;
    font-weight: bold;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-color: #000;
    color: #00aced;
    position: relative;
    width: 100%;
    max-width: 1100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5em;
    color: #00aced;
    margin-bottom: 10px;  
}

.hero-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
}

/* Dashboard Container Styling */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px auto 40px;
    max-width: 1000px;
}

/* Dashboard Card Styling */
.dashboard-card {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    
    /* Flexbox to center content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px; /* Adjust height to make the card a little taller */
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

.dashboard-card h3 {
    color: #00aced;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

/* Dashboard Icon Styling */
.dashboard-icon {
    width: 100px; /* Adjust size as needed */
    height: 100px; /* Adjust size as needed */
    margin-bottom: 20px; /* Space between icon and title */
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.btn {
    background-color: #00aced;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #008bb5;
}
/* General styles for centering the table */
.project-dashboard {
    max-width: 1200px;  /* Adjust the max-width as needed */
    margin: 40px auto;  /* Centers the table and adds 40px margin from top and bottom */
    padding: 20px;      /* Adds padding inside the project-dashboard container */
    text-align: center; /* Centers the text for the headings inside the container */
}

/* Project Table styles for better readability */
.project-table {
    width: 100%;               /* Makes the table full width of its container */
    margin-top: 20px;          /* Adds some space between the heading and the table */
    border-collapse: collapse; /* Ensures borders are not duplicated */
    background-color: #111;    /* Dark background for the table */
    color: #fff;               /* Text color for better contrast */
}

.project-table th, .project-table td {
    border: 1px solid #555;    /* Light border to separate cells */
    padding: 10px;             /* Adds padding for readability */
    text-align: center;        /* Centers text in the cells */
}

.project-table th {
    background-color: #222;    /* Darker background for header */
}

.status-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.status-badge.scheduled {
    border: 2px solid red;
    color: red;
    padding: 5px;
    border-radius: 5px;
}
.status-badge.draft {
    border: 2px solid orange;
    color: orange;
    padding: 5px;
    border-radius: 5px;
}

.status-badge.paused {
    border: 2px solid purple;
    color: gray;
    padding: 5px;
    border-radius: 5px;
}

.status-badge.development {
    border: 2px solid yellow;
    color: yellow;
    padding: 5px;
    border-radius: 5px;
}

.status-badge.testing {
    border: 2px solid #00ACED;
    color: #00ACED;
    padding: 5px;
    border-radius: 5px;
}

.status-badge.complete {
    border: 2px solid green;
    color: green;
    padding: 5px;
    border-radius: 5px;
}

.status-badge.cancelled {
    border: 2px solid gray;
    color: red;
    padding: 5px;
    border-radius: 5px;
}

/* Ensures modal is properly centered and looks good */
.modal-content {
    max-width: 600px;   /* Set a max width for the modal content */
    margin: auto;       /* Center the modal */
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

/* To position tabs inside the modal */
.tabs {
    margin-top: 20px;
}

/* Shortcuts Section */
.shortcuts {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.shortcuts .shortcut-icon {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #222;
    transition: background-color 0.3s;
}

.shortcuts .shortcut-icon:hover {
    background-color: #333;
}

.shortcuts .shortcut-icon i {
    font-size: 2em;
    color: #00aced;
}

.shortcuts .shortcut-icon p {
    color: #fff;
    margin-top: 10px;
}




/* Stats Section */
.stats {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #111;
    border-radius: 8px;
    margin-top: 20px;
}

.stats .stat-item {
    text-align: center;
    flex: 1;
    padding: 10px;
}

.stats .stat-item h3 {
    color: #00aced;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.stats .stat-item p {
    color: #fff;
    font-size: 1.5em;
}

/* Miscellaneous */
.error {
    color: #ff4d4d;
    margin-bottom: 20px;
}

.success {
    color: #4caf50;
    margin-bottom: 20px;
}

/* Footer Section */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 10px; /* Uniform padding for all sides */
    background-color: #111; /* Dark background for contrast */
    color: #fff;
    width: 100%;
    max-width: 1200px; /* Ensure the footer has a maximum width */
    margin: 0 auto; /* Center the footer horizontally on the page */
    position: sticky; /* Fix the footer at the bottom, but only after scrolling to it */
    bottom: 0; /* Align to the bottom */
    border-radius: 10px; /* Rounded corners like the other parts of the screen */
}

/* Footer Sections */
.footer .footer-left,
.footer .footer-center,
.footer .footer-right {
    flex: 1; /* Each section takes equal width */
    padding: 10px; /* Add consistent padding to each section */
    text-align: center; /* Center the content horizontally within each section */
    box-sizing: border-box; /* Include padding in the width calculations */
}

.footer a {
    color: #00aced; /* Use brand color for links */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline; /* Underline on hover for better UX */
}
