/* Sector 2: Kuat Yards (Enhanced Imperial Theme) */

/* Page Header & Footer */
.page-header {
    background: #050505;
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-header);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.brand-logo {
    color: var(--primary-color);
    font-size: 1.2em;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo::before {
    content: "◈";
    /* Imperial logo placeholder symbol */
    font-size: 1.5em;
}

.top-nav {
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: #888;
}

.page-footer {
    background: #050505;
    border-top: 1px solid #333;
    padding: 10px;
    text-align: center;
    font-size: 0.7em;
    color: #444;
    font-family: var(--font-mono);
    position: fixed;
    bottom: 0;
    width: 100%;
}

.container {
    max-width: 800px;
    margin: 40px auto 80px auto;
    /* Added bottom margin for footer */
    padding: 20px;
}

/* Standard Imperial Panel with Tech Grid Background */
.panel {
    background: #111;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid #444;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

/* Decorative Corner Accents */
.panel::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 20px;
    height: 5px;
    background: var(--accent-color);
}

.panel::after {
    content: "";
    position: absolute;
    top: -5px;
    right: 0;
    width: 20px;
    height: 5px;
    background: var(--accent-color);
}

/* Header Styling (Panel Internal) */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.header-title {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5em;
    letter-spacing: 2px;
}

.header-meta {
    font-family: var(--font-mono);
    color: #666;
    font-size: 0.8em;
    text-align: right;
}

/* Standard Buttons */
.btn {
    background: #333;
    color: #fff;
    border: 1px solid #666;
    padding: 10px 25px;
    font-family: var(--font-header);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1em;
}

.btn:hover {
    background: #444;
    border-color: #888;
}

.btn-primary {
    background: #660000;
    /* Imperial Red */
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #990000;
}

/* Form Inputs */
input[type="text"] {
    background: #000;
    border: 1px solid #555;
    color: #fff;
    padding: 12px;
    width: 70%;
    font-family: var(--font-mono);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    letter-spacing: 1px;
}

input[type="text"]:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
}

/* System Log Box */
.terminal-log {
    background: #000;
    border: 1px solid #333;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: #999;
    text-align: left;
    height: 100px;
    overflow-y: auto;
    margin-top: 30px;
}

.log-entry {
    margin-bottom: 5px;
}

.log-entry.success {
    color: #0f0;
}

.log-entry.error {
    color: #f00;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Footer Status Line */
.status-line {
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 0.8em;
    color: #666;
    display: flex;
    justify-content: space-between;
}
/* Toast Notification */
.toast-notification {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-family: var(--font-mono);
}

.toast-notification.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
