/* General Body Styles */
body {
    background-color: #000; /* Black background like the night scenes */
    color: #F8D628; /* Gold/Amber text color */
    font-family: 'Press Start 2P', cursive; /* A retro, pixelated font for a classic feel */
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Subtle texture */
    background-size: cover;
    background-attachment: fixed;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.5); /* Red glowing shadow */
}

/* Link to a retro font (add this to your HTML head) */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap'); /* Ensure this is also imported if not in base.html */


/* Container Styling */
.container {
    background-color: rgba(40, 40, 40, 0.8); /* Darker, semi-transparent background for content */
    border: 3px solid #F8D628; /* Amber border */
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7); /* Red glowing box shadow */
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #F8D628; /* Amber headings */
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(255, 0, 0, 0.7); /* More prominent red shadow for headings */
}

/* Form Controls (Inputs and Textareas) */
.form-control {
    background-color: #333; /* Dark grey input fields */
    border: 1px solid #F8D628; /* Amber border */
    color: #F8D628; /* Amber text in inputs */
    padding: 10px;
    margin-bottom: 15px;
    /* Ensure no default focus outline */
    outline: none;
}

.form-control::placeholder {
    color: rgba(248, 214, 40, 0.7); /* Lighter amber placeholder text */
}

/* Style for form controls when they are focused (clicked/tabbed into) */
.form-control:focus {
    background-color: #1a1a1a; /* Even darker background on focus */
    border-color: #00FF00; /* Green border on focus, like a terminal cursor */
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7); /* Green glow on focus */
    color: #00FF00; /* Green text on focus */
    outline: none; /* Remove default blue outline */
}


/* Buttons */
.btn {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); /* Red glow for buttons */
}

.btn-primary {
    background-color: #F8D628; /* Amber primary button */
    border-color: #F8D628;
    color: #000; /* Black text */
}

.btn-primary:hover {
    background-color: #FFEA68; /* Lighter amber on hover */
    border-color: #FFEA68;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8); /* Stronger red glow on hover */
}

.btn-success {
    background-color: #4CAF50; /* Green for success (register) */
    border-color: #4CAF50;
    color: #fff;
}

.btn-success:hover {
    background-color: #66BB6A;
    border-color: #66BB6A;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

/* Logout Link */
.float-right {
    float: right;
    color: #F8D628;
    text-decoration: none;
    margin-right: 20px;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(255, 0, 0, 0.5);
}

.float-right:hover {
    color: #FFEA68;
}

/* Alerts */
.alert-warning {
    background-color: rgba(255, 0, 0, 0.7);
    color: #fff;
    border: 1px solid #F8D628;
    text-shadow: none;
}

/* Chat Specific Styles */
#chatResponse {
    background-color: #222; /* Darker background for chat response area */
    border: 2px solid #F8D628;
    padding: 15px;
    min-height: 100px;
    overflow-y: auto;
    border-radius: 5px;
    color: #00FF00; /* Green text for chat responses, like a terminal */
    font-family: 'Share Tech Mono', monospace; /* Monospace font for chat output */
    white-space: pre-wrap; /* Preserve whitespace and wrap text */
    word-wrap: break-word; /* Break long words */
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.5); /* Green inner glow */
}

/* Link for login/register */
a {
    color: #F8D628;
    text-decoration: underline;
    display: block; /* Make it a block element to use margin-top */
    margin-top: 10px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255, 0, 0, 0.5);
}

a:hover {
    color: #FFEA68;
}

/* Dino emoji color */
.navbar-brand .dino-emoji {
    color: #4CAF50; /* Green */
}
