:root {
    --primary-color: #d4ff00; /* Lime green */
    --secondary-color: #1a1a1a; /* Dark gray */
    --accent-color: #ff4d00; /* Orange accent */
    --text-color: #ffffff;
    --bg-dark: #0a0a0a;
    --card-bg: #1e1e1e;
    --font-main: 'Roboto', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.gym-container {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 10px; /* Reduced padding */
    box-sizing: border-box;
}

/* Cabecera Component Styles */
.cabecera-container {
    display: flex;
    align-items: center;
    padding: 10px 0; /* Reduced padding */
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 15px; /* Reduced margin */
    gap: 15px;
}

.logo-col {
    flex: 0 0 60px; /* Smaller logo */
}

.gym-logo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(212, 255, 0, 0.3);
}

.title-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-top {
    font-family: var(--font-display);
    font-size: 1.4rem; /* Smaller font */
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-bottom {
    font-family: var(--font-main);
    font-size: 1rem;
    margin: 0;
    color: #888;
    font-weight: 300;
}

/* Login Form Styles */
.login-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.75rem; /* Smaller */
    color: #ccc;
    text-transform: uppercase;
    margin-bottom: 2px; /* Closer */
}

.gym-input {
    background: var(--card-bg);
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

.gym-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 255, 0, 0.1);
}

.gym-btn {
    background: var(--primary-color);
    color: black;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--font-display);
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, background 0.3s;
    text-transform: uppercase;
}

.gym-btn:active {
    transform: scale(0.98);
}

.gym-btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/* Ficha Cliente Styles */
.ficha-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 10px 15px;
    gap: 20px;
    border-left: 4px solid var(--primary-color);
}

.info-item {
    flex: 1;
}

.label-text {
    font-size: 0.6rem; /* Even smaller */
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: -2px; /* Very close to value */
}

.value-text {
    font-size: 1rem; /* Slightly smaller to fit */
    font-weight: bold;
    color: var(--text-color);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qr-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 10px 0;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
}

.qr-image {
    width: 100% !important;
    height: auto !important;
    display: block;
    max-width: 100%;
}

/* Layout overrides */
.sidebar {
    display: none !important;
}

.main {
    padding: 0 !important;
}

.top-row {
    display: none !important;
}

.content {
    padding: 0 !important;
}
