/* Main styles for the Deletion Requests app */
:root {
    --panthers-navy: #091F3F;
    --panthers-red: #CF102D;
    --panthers-gold: #BD965C;
    --panthers-white: #FFFFFF;
}

/* Environment Banner Styles */
.env-banner {
    position: fixed;
    top: 0;
    right: 0; /* Always position on the right side */
    padding: 5px 10px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    z-index: 1000;
    border-bottom-left-radius: 5px;
    background-color: var(--env-color, #4caf50); /* Default to local color */
    text-transform: uppercase; /* Ensure consistent text casing */
}

/* Environment Color Bar */
.env-color-bar {
    height: 8px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: var(--env-color, #4caf50); /* Default to local color */
}

/* Footer color bar */
.footer-color-bar {
    height: 5px;
    width: 100%;
    display: block;
    background-color: var(--env-color, #4caf50); /* Default to local color */
}

/* Basic document setup */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh; /* Force minimum viewport height */
}

/* Set up wrapper for sticky footer */
body {
    display: flex;
    flex-direction: column;
    padding-top: 8px; /* For the top color bar */
    min-height: 100vh; /* Ensure at least full viewport height */
}

/* Main content container */
.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1 0 auto; /* This makes the container take up all available space */
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.error {
    color: #e74c3c;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fadbd8;
    border-radius: 4px;
}

.note, .dev-notice {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
}

.user-info {
    background-color: #ecf0f1;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.delete-account {
    background-color: var(--panthers-red);
    color: white;
}

.delete-data {
    background-color: var(--panthers-navy);
    color: white;
}

.send-data {
    background-color: var(--panthers-gold);
    color: white;
}

button:hover {
    opacity: 0.6;
}

.logout {
    display: inline-block;
    margin-top: 20px;
    color: #7f8c8d;
    text-decoration: none;
}

.logout:hover {
    text-decoration: underline;
}

pre {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
}

.success {
    color: #27ae60;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    width: 100%;
    flex-shrink: 0; /* Prevent the footer from shrinking */
    margin-top: auto; /* Push to the bottom */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative; /* For proper stacking of elements */
}

.footer-color-bar {
    height: 5px;
    width: 100%;
    background-color: var(--env-color, #4caf50);
}

footer p {
    margin: 0;
    padding: 8px 0; /* More padding for better appearance */
    font-size: 12px;
}
