/* Reset and Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #1a1a2e;
    color: #eee;
    min-height: 100vh;
}

/* Typography */
h1 {
    text-align: center;
    color: #00d4ff;
}

/* Navbar */
.navbar {
    background: #0f0f23;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #333;
}

.navbar-brand {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    gap: 8px;
}

.navbar-nav a {
    color: #888;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.navbar-nav a:hover {
    color: #eee;
    background: #1a1a2e;
}

.navbar-nav a.active {
    color: #00d4ff;
    background: #1a1a2e;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Cards */
.card {
    background: #16213e;
    border-radius: 12px;
    padding: 16px;
}

.card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 10px;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group.full-width {
    width: 100%;
}

label, span.label, legend {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

fieldset.form-group {
    border: none;
    padding: 0;
    margin: 0;
}

input, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #0f0f23;
    color: #eee;
    font-size: 14px;
}

input:focus, select:focus {
    outline: none;
    border-color: #00d4ff;
}

input::placeholder {
    color: #555;
}

select {
    cursor: pointer;
}

select:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Buttons */
button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-primary {
    background: #00d4ff;
    color: #000;
}

.btn-primary:hover:not(:disabled) {
    background: #00b8e6;
}

.btn-success {
    background: #2ed573;
    color: #000;
}

.btn-success:hover:not(:disabled) {
    background: #26b85f;
}

.btn-danger {
    background: #ff4757;
    color: #fff;
}

.btn-danger:hover:not(:disabled) {
    background: #ff3344;
}

.btn-secondary {
    background: #333;
    color: #eee;
}

.btn-secondary:hover:not(:disabled) {
    background: #444;
}

/* Utilities */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #888;
}

.text-success {
    color: #2ed573;
}

.text-danger {
    color: #ff4757;
}

.text-primary {
    color: #00d4ff;
}

/* Error/Alert Messages */
.error-message {
    background: #ff4757;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 1s infinite;
}
