/* INTRANET GEMS RACING */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, sans-serif; }
body { background: #040f1e; color: #ffffff; min-height: 100vh; display: flex; flex-direction: column; }

/* Topbar */
.intra-header { background: #071b35; border-bottom: 2px solid #f28c28; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; }
.intra-logo { font-size: 20px; font-weight: 900; letter-spacing: 1px; }
.intra-logo span { color: #f28c28; }
.intra-user { display: flex; align-items: center; gap: 12px; }
.intra-avatar { width: 38px; height: 38px; border-radius: 50%; background: #f28c28; color: #071b35; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* Main Layout */
.intra-container { display: flex; flex: 1; }
.intra-sidebar { width: 250px; background: #051326; border-right: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.intra-nav-item { display: flex; align-items: center; gap: 12px; padding: 14px 24px; color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.2s; border-left: 4px solid transparent; }
.intra-nav-item:hover, .intra-nav-item.active { background: rgba(242,140,40,0.12); color: #ffffff; border-left-color: #f28c28; }

.intra-content { flex: 1; padding: 32px; max-width: 1100px; }
.intra-card { background: #071b35; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 24px; margin-bottom: 28px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.intra-card h2 { color: #f28c28; font-size: 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }

/* Forms & Inputs */
.intra-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intra-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.intra-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.intra-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.8); letter-spacing: 0.5px; }
.intra-field input, .intra-field textarea, .intra-field select { background: #040f1e; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 10px 14px; color: #ffffff; font-size: 14px; outline: none; transition: 0.2s; }
.intra-field input:focus, .intra-field textarea:focus { border-color: #f28c28; box-shadow: 0 0 0 2px rgba(242,140,40,0.2); }

/* Buttons */
.btn-primary { background: #f28c28; color: #ffffff; border: none; padding: 10px 20px; border-radius: 6px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; font-size: 13px; }
.btn-primary:hover { background: #d87417; transform: translateY(-1px); }
.btn-danger { background: #e74c3c; color: #ffffff; border: none; padding: 6px 12px; border-radius: 4px; font-weight: 700; cursor: pointer; font-size: 12px; }
.btn-icon { background: rgba(255,255,255,0.1); color: #fff; border: none; padding: 6px 10px; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.btn-icon:hover { background: #f28c28; }

/* Photo Grid Admin */
.photo-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-admin-card { background: #040f1e; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.photo-preview-wrap { width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #000; position: relative; display: flex; align-items: center; justify-content: center; }
.photo-preview-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.photo-actions { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.photo-tools { display: flex; gap: 6px; justify-content: space-between; }

/* Status Toast */
.intra-toast { position: fixed; bottom: 20px; right: 20px; background: #27ae60; color: #fff; padding: 12px 24px; border-radius: 6px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.3); display: none; z-index: 9999; }