@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}


/* === Root Variables for Easy Customization === */
:root {
  --parker-gold: #fdb913;
  --parker-gold-dark: #cc9417;
  --grey: #424242;
  --black: #000;
  --white: #fff;
  --primary-color: var(--parker-gold);         /* Main navbar/footer background */
  --secondary-color: #f39c12;    /* Accent color for hover effects */
  --text-color: var(--grey);         /* Main text color */
  --muted-text: var(--grey);         /* Muted text (e.g., user greeting) */
  --background-color: #f4f4f4;   /* Page background */
  --container-width: 1920px;     /* Max width for content */
  --padding: 1rem;               /* Default padding */
  --transition-speed: 0.2s;      /* Animation speed */
  --font-family: "Roboto", Arial, sans-serif;
}

/* === General Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family), Arial, sans-serif;
}

body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 6rem;
}

header, main, footer {
  width: 100%;
  max-width: var(--container-width);
}

h1, h2, h3, h4, h5, h6, p, a, button {
  color: var(--text-color);
}

/* === General reusable CSS === */
.primary-btn {
  background-color: var(--primary-color);
  color: var(--black);
  font-size: 1rem;
  font-weight: bold;
  min-width: 160px;
  border-radius: 40px;
  border-color: transparent;
  border: none;
  padding: 0.6rem 1rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.primary-btn:hover {
  cursor: pointer;
  background-color: var(--parker-gold-dark);
}


/* === Navbar === */
.navbar {
  color: var(--muted-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.2rem solid var(--primary-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.navbar .logo {
  display: flex;
  margin-left: auto;
  width: 100%;
  order: 2;
}

.navbar .account-container {
  background-color: var(--black);
  color: var(--white);
  width: 100%;
  display: flex;
  flex-direction:row-reverse;
  max-width: var(--container-width);
  padding: var(--padding);
}

.navbar .account-container .nav-link {
  color: var(--white);
}

.signout-btn {
  background-color: var(--primary-color);
  color: var(--black);
  font-size: 1rem;
  font-weight: bold;
  min-width: 160px;
  border-radius: 40px;
  border-color: transparent;
  border: none;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.signout-btn:hover {
  cursor: pointer;
  background-color: var(--parker-gold-dark);
}



/* Logo */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--muted-text);
  text-decoration: none;
}

/* Navigation Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-links .nav-link {
  color: var(--muted-text);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: color var(--transition-speed) ease-in-out;
}

.navbar-links .nav-link:hover {
  color: var(--black);
}

/* User Greeting */
.navbar-user {
  font-size: 1rem;
  color: var(--muted-text);
  margin-right: 1rem;
}

/* Logout Form */
.logout-form {
  display: inline;
}

.logout-form .btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1rem;
  transition: color var(--transition-speed) ease-in-out;
}

.logout-form .btn:hover {
  color: var(--secondary-color);
}

/* === Main Content === */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 2rem auto;
  padding: var(--padding);
  border-radius: 8px;
}

.tfwxalertwarning{
    text-align:center;
    color:darkred;
    font-weight:bold;
    font-size:32px;
}

/* === Footer === */
footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  text-align: center;
  padding: var(--padding);
  margin-top: 2rem;
  position: absolute;
  bottom: 0;
  width: 100%;
  max-height: 6rem;
}

footer a {
  color: var(--text-color);
  text-decoration: none;
}

footer a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* LANDING PAGE */
.landing .marketing {
  display: flex;
  flex-direction: row;
  margin-top: var(--padding);
  gap: var(--padding);
}

.landing .centered {
    width:100%; 
    text-align:center;
}


.landing .access {
  display: flex;
  flex-direction: row;
  margin-top: var(--padding);
  gap: var(--padding);
}

.landing .access .option {
  flex: 1;
  padding: calc(var(--padding) * 3);
}

.landing hr {
  margin-top: 3rem;
}

.landing .access .option p {
  margin-top: var(--padding);
}

.landing .documents {
  margin-top: 3rem;
}

section.documents h2 {
  margin-bottom: var(--padding);
}

section.documents table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

section.documents td {
  border: 1px solid #ccc;
  padding: 12px;
  color: var(--text-color);
}

section.documents td:first-child {
  text-align: left;
}

section.documents td:nth-child(3) {
  text-align: center;
}

/* === Form Container === */
.form-container {
  max-width: 600px;
  background: var(--white);
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* === Form Title === */
.form-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

/* === Form Structure === */
.styled-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* === Form Inputs === */
.form-control {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 5px rgba(253, 185, 19, 0.5);
}

.form-input-note {
    color:#aaa;
    font-style:italic;
}




::file-selector-button
{
  background-color: var(--primary-color);
  color: var(--black);
  font-size: 1rem;
  font-weight: bold;
  min-width: 160px;
  border-radius: 40px;
  border-color: transparent;
  border: none;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
::file-selector-button:hover {
  cursor: pointer;
  background-color: var(--parker-gold-dark);
}



/* === Validation Messages === */
.text-danger {
  font-size: 0.875rem;
  margin-top: 0.2rem;
  color: #e74c3c;
}


/* MGTSUP-1445 moving inline styles out so that it doesnt violate the Content-Secuirty-Policy */
    .registration-list-container {
        padding: 20px 0;
    }

    .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 2px solid #e9ecef;
    }

        .page-header h2 {
            margin: 0;
            color: #333;
            font-weight: 600;
        }

    .btn {
        padding: 8px 16px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .btn-primary {
        background-color: #007bff;
        color: white;
    }

        .btn-primary:hover {
            background-color: #0056b3;
            transform: translateY(-1px);
        }

    .btn-outline-primary {
        background-color: transparent;
        color: #007bff;
        border: 1px solid #007bff;
    }

        .btn-outline-primary:hover {
            background-color: #007bff;
            color: white;
        }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.875rem;
    }

    .table-responsive {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .table {
        margin-bottom: 0;
        background-color: white;
        width: 100%;
    }

    .table-dark {
        background-color: #343a40;
    }

    .table-striped tbody tr:nth-of-type(odd) {
        background-color: #f8f9fa;
    }

    .table-hover tbody tr:hover {
        background-color: #e9ecef;
    }

    .table th {
        font-weight: 600;
        border-bottom: 2px solid #dee2e6;
        padding: 12px;
        color: white;
    }

    .table td {
        padding: 12px;
        vertical-align: middle;
        border-top: 1px solid #dee2e6;
    }

    .owner-name {
        font-weight: 500;
        color: #333;
    }

    .shipset-number {
        font-family: monospace;
        font-weight: 600;
        color: #6c757d;
    }

    .platform-name {
        color: #495057;
    }

    .aircraft-reg {
        font-family: monospace;
        font-weight: 600;
        color: #28a745;
    }

    .text-center {
        text-align: center;
    }

    .empty-state {
        text-align: center;
        padding: 60px 20px;
        background-color: #f8f9fa;
        border-radius: 8px;
        margin-top: 30px;
    }

    .empty-state-icon {
        font-size: 3rem;
        color: #6c757d;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        color: #495057;
        margin-bottom: 10px;
    }

    .empty-state p {
        color: #6c757d;
        margin-bottom: 25px;
    }

    .alert {
        padding: 12px 20px;
        margin-bottom: 20px;
        border: 1px solid transparent;
        border-radius: 8px;
        position: relative;
    }

    .alert-success {
        color: #155724;
        background-color: #d4edda;
        border-color: #c3e6cb;
    }

    .alert-dismissible .btn-close {
        position: absolute;
        top: 0;
        right: 0;
        padding: 12px 20px;
        color: inherit;
        background: none;
        border: none;
        cursor: pointer;
    }

        .registration-list-container {
        padding: 20px 0;
    }

    .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 2px solid #e9ecef;
    }

    .page-header h2 {
        margin: 0;
        color: #333;
        font-weight: 600;
    }

    .btn {
        padding: 8px 16px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .btn-primary {
        background-color: #007bff;
        color: white;
    }

    .btn-primary:hover {
        background-color: #0056b3;
        transform: translateY(-1px);
    }

    .btn-outline-primary {
        background-color: transparent;
        color: #007bff;
        border: 1px solid #007bff;
    }

    .btn-outline-primary:hover {
        background-color: #007bff;
        color: white;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.875rem;
    }

    .table-responsive {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .table {
        margin-bottom: 0;
        background-color: white;
        width: 100%;
    }

    .table-dark {
        background-color: #343a40;
    }

    .table-striped tbody tr:nth-of-type(odd) {
        background-color: #f8f9fa;
    }

    .table-hover tbody tr:hover {
        background-color: #e9ecef;
    }

    .table th {
        font-weight: 600;
        border-bottom: 2px solid #dee2e6;
        padding: 12px;
        color: white;
    }

    .table td {
        padding: 12px;
        vertical-align: middle;
        border-top: 1px solid #dee2e6;
    }

    .owner-name {
        font-weight: 500;
        color: #333;
    }

    .shipset-number {
        font-family: monospace;
        font-weight: 600;
        color: #6c757d;
    }

    .platform-name {
        color: #495057;
    }

    .aircraft-reg {
        font-family: monospace;
        font-weight: 600;
        color: #28a745;
    }

    .text-center {
        text-align: center;
    }

    .empty-state {
        text-align: center;
        padding: 60px 20px;
        background-color: #f8f9fa;
        border-radius: 8px;
        margin-top: 30px;
    }

    .empty-state-icon {
        font-size: 3rem;
        color: #6c757d;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        color: #495057;
        margin-bottom: 10px;
    }

    .empty-state p {
        color: #6c757d;
        margin-bottom: 25px;
    }

    .alert {
        padding: 12px 20px;
        margin-bottom: 20px;
        border: 1px solid transparent;
        border-radius: 8px;
        position: relative;
    }

    .alert-success {
        color: #155724;
        background-color: #d4edda;
        border-color: #c3e6cb;
    }

    .alert-dismissible .btn-close {
        position: absolute;
        top: 0;
        right: 0;
        padding: 12px 20px;
        color: inherit;
        background: none;
        border: none;
        cursor: pointer;
    }

