:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #ffff00;
  --secondary: #001836;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
}

:root {
  --color-text-headline: #222222;
  --color-text-normal: #212529;
  --color-text-secondary: #989898;
  --color-background-normal: #ffffff;
  --color-background-secondary: #989898;
  --color-call-to-action: #17a2b8;
  --color-border-primary: #222222;
  --color-call-to-action-danger: #fb0000;

  --box-shadow-basic: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: grid;
  background-color: var(--color-background-normal);
}
* {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: unset;
  margin: 0;
  padding: 0;
  background-color: unset;
  box-sizing: border-box;
  outline: none;
  border: none;
  min-width: none;
  min-height: none;
}
*:visited {
  color: unset;
}
th,
td {
  text-align: unset;
}

/* Auth Container Styles */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    background-color: var(--color-background-normal);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow-basic);
    width: 100%;
    max-width: 400px;
}

.auth-container h1 {
    color: var(--color-text-headline);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-normal);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border-primary);
    border-radius: 4px;
    background-color: var(--color-background-normal);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

.btn-primary {
    background-color: var(--color-call-to-action);
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.9;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: center;
}

.message.error {
    background-color: var(--danger);
    color: var(--white);
}

.message.success {
    background-color: var(--success);
    color: var(--white);
}

.auth-links {
    margin-top: 1rem;
    text-align: center;
}

.auth-links a {
    color: var(--color-call-to-action);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Action Links - More specific selectors to override any table styles */
table td .action-link,
.part-provider-overview table td .action-link,
.part-provider-users table td .action-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 4px;
  border-radius: 4px;
  background-color: transparent;
  width: 32px;
  height: 32px;
  margin: 0;
  font-size: inherit;
  font-weight: normal;
  cursor: pointer;
}

table td .action-link:hover,
.part-provider-overview table td .action-link:hover,
.part-provider-users table td .action-link:hover {
  transform: scale(1.2);
  background-color: rgba(23, 162, 184, 0.1);
}

table td .action-link i,
.part-provider-overview table td .action-link i,
.part-provider-users table td .action-link i {
  font-size: 1.2em;
  color: var(--color-call-to-action);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

table td .action-link + .action-link,
.part-provider-overview table td .action-link + .action-link,
.part-provider-users table td .action-link + .action-link {
  margin-left: 8px;
}

/* Remove all other table-specific link styles that might interfere */
.part-provider-overview > table td a,
.part-provider-users > table td a,
table td a {
  text-decoration: none;
  font-weight: normal;
  font-size: inherit;
  margin: 0;
  color: inherit;
  cursor: pointer;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1em;
  font-size: 0.9em;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon i {
  font-size: 1em;
  line-height: 1;
}

.btn-icon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-icon.btn-primary {
  background-color: var(--color-call-to-action);
  color: white;
}

.btn-icon.btn-primary:hover:not(:disabled) {
  background-color: var(--color-call-to-action-hover);
}

.btn-icon.btn-secondary {
  background-color: var(--color-background-secondary);
  color: var(--color-text-primary);
}

.btn-icon.btn-secondary:hover:not(:disabled) {
  background-color: var(--color-background-hover);
}

.back-button {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background-color: transparent;
  border: none;
  color: var(--color-text-normal);
  cursor: pointer;
  padding: 0.5em;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.back-button:hover {
  opacity: 1;
}

.back-button i {
  font-size: 1.1em;
}

/* Make the header position relative to contain the absolute positioned back button */
.page > h1 {
  position: relative;
}
