:root {
  --primary-bg: #121212;
  --secondary-bg: #1E1E1E;
  --primary-text: #FFFFFF;
  --secondary-text: #CCCCCC;
  --accent-bg: #333333;
  --border-color: #333333;
  --hover-bg: #444444;
  --disabled-bg: #2A2A2A;
  --disabled-text: #777777;
  --approval-green: #2ECC71;
  --rejection-red: #E74C3C;
  --pending-yellow: #F39C12;
  --border-radius: 6px;
}

/* GLOBAL RESETS AND BASE */
html, body {
  margin: 0;
  padding: 0;
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: 'Open Sans', 'Roboto', sans-serif;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}

/* HEADERS / SECTIONS */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  color: var(--primary-text);
}

/* NAVIGATION */
.navbar {
  background-color: var(--secondary-bg);
  padding: 1em;
  margin-bottom: 2em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.navbar a {
  color: var(--primary-text);
  text-decoration: none;
  margin-right: 1em;
  padding: 0.5em 1em;
  border-radius: var(--border-radius);
  transition: background-color 0.3s;
}
.navbar a:hover {
  background-color: var(--hover-bg);
}

/* BUTTONS */
.button {
  background-color: var(--accent-bg);
  color: var(--primary-text);
  padding: 0.7em 1em;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
}
.button:hover {
  background-color: var(--hover-bg);
}
.button:disabled {
  background-color: var(--disabled-bg);
  color: var(--disabled-text);
  cursor: not-allowed;
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  background-color: var(--secondary-bg);
  color: var(--primary-text);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.5em;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1em;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--hover-bg);
}
label {
  display: block;
  margin-bottom: 0.3em;
  color: var(--secondary-text);
}

/* CARDS / SECTION HEADERS */
.card {
  background-color: var(--secondary-bg);
  border-radius: var(--border-radius);
  padding: 1.5em;
  margin-bottom: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ALERTS */
.alert {
  padding: 1em;
  margin-bottom: 1em;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
}
.alert.success {
  background-color: rgba(46, 204, 113, 0.1);
  border-color: var(--approval-green);
  color: var(--approval-green);
}
.alert.error {
  background-color: rgba(231, 76, 60, 0.1);
  border-color: var(--rejection-red);
  color: var(--rejection-red);
}

/* STATUS INDICATORS */
.status-approved {
  color: var(--approval-green);
}
.status-rejected {
  color: var(--rejection-red);
}
.status-pending {
  color: var(--pending-yellow);
}

/* DASHBOARD STATS */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin-top: 1.5em;
}
.stat-card {
  background-color: var(--accent-bg);
  padding: 1.5em;
  border-radius: var(--border-radius);
  text-align: center;
}
.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0.5em 0;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 767px) {
  .navbar a {
    display: block;
    margin: 0.5em 0;
  }
  .button {
    width: 100%;
    margin-bottom: 0.5em;
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
} 

/* TABLES */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 1em;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.table th,
.table td {
    padding: 0.75em;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--accent-bg);
    color: var(--primary-text);
    font-weight: bold;
}

.table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* FORM ENHANCEMENTS */
.form-group {
    margin-bottom: 1em;
}

.text-muted {
    color: var(--secondary-text);
    font-size: 0.9em;
}

/* COLOR INPUTS */
input[type="color"] {
    width: 100px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* FILE INPUTS */
input[type="file"] {
    background-color: var(--secondary-bg);
    color: var(--primary-text);
    padding: 0.5em;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 100%;
    box-sizing: border-box;
} 

/* MODAL STYLES */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--primary-bg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    padding: 1.5em;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-text);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
    margin: 1em 0;
}

.detail-item {
    padding: 1em;
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
}

.detail-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: var(--secondary-text);
}

.company-details h3 {
    margin: 1.5em 0 1em 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
    margin: 1em 0;
}

.info-item {
    background: var(--accent-bg);
    padding: 1em;
    border-radius: var(--border-radius);
}

.info-item label {
    display: block;
    margin-bottom: 0.5em;
}

.theme-preview {
    margin-top: 1.5em;
}

.color-sample {
    display: inline-block;
    width: 100px;
    height: 40px;
    margin: 0.5em;
    border-radius: var(--border-radius);
    text-align: center;
    line-height: 40px;
} 

/* Add or update link styles */
a:not(.button) {
    color: #FFE5B4; /* Pale yellow */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:not(.button):hover {
    color: #FFDEAD; /* Slightly darker shade for hover */
    text-decoration: underline;
}

a:not(.button):active {
    color: #FFD700; /* Brighter yellow when clicked */
} 