/* CordobaMU Sidebar Styles - extracted from muarg/sidebar.php */

/* === Variables de color === */
.hero-content {
    --bg-dark: rgba(30, 20, 15, 0.95);
    --bg-card: rgba(40, 28, 20, 0.92);
    --bg-card-hover: rgba(50, 35, 25, 0.95);
    --border-gold: #c9a227;
    --border-soft: rgba(201, 162, 39, 0.3);
    --text-primary: #f5f0e8;
    --text-secondary: #d4c8b8;
    --text-muted: #a89880;
    --accent-gold: #ffcc00;
    --accent-orange: #ff9500;
    --accent-green: #00ff88;
    --accent-red: #ff6b6b;
    --accent-blue: #3b82f6;
    --accent-purple: #b366ff;
    --shadow-gold: rgba(201, 162, 39, 0.2);
}

/* === Card base === */
.sidebar-card {
    background: var(--bg-dark);
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.sidebar-header {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.25), rgba(139, 105, 20, 0.25));
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-soft);
}

.sidebar-title {
    color: var(--accent-gold);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 8px var(--shadow-gold);
}

.sidebar-title i {
    color: var(--accent-orange);
    font-size: 20px;
}

.sidebar-body {
    padding: 18px;
}

/* === Widget Estadisticas (formato lista) === */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(60, 45, 30, 0.5);
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.stat-row:hover {
    background: var(--bg-card-hover);
    border-left-color: var(--accent-gold);
}

.stat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-left i {
    color: var(--accent-orange);
    font-size: 20px;
}

.stat-name {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.stat-right {
    text-align: right;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Segoe UI', sans-serif;
}

.stat-number.online {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.stat-number.gold {
    color: var(--accent-gold);
    text-shadow: 0 0 10px var(--shadow-gold);
}

/* Barra de capacidad */
.capacity-section {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 5px;
}

.capacity-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.capacity-percent {
    color: var(--accent-gold);
    font-weight: 700;
}

.capacity-bar {
    height: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    overflow: hidden;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, var(--accent-gold));
    border-radius: 5px;
    width: 0%;
    transition: width 2s ease;
}

/* === Panel de Usuario === */
.user-welcome {
    text-align: center;
    margin-bottom: 15px;
}

.user-name {
    color: var(--accent-gold);
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px var(--shadow-gold);
}

/* Coins */
.coins-container {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
}

.coin-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.coin-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.coin-item:first-child {
    padding-top: 0;
}

.coin-icon {
    width: 24px;
    height: 24px;
}

.coin-data {
    display: flex;
    flex-direction: column;
}

.coin-amount {
    color: var(--accent-green);
    font-size: 16px;
    font-weight: 700;
}

.coin-name {
    color: var(--text-muted);
    font-size: 11px;
}

/* === Botones === */
.user-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-action.btn-admin {
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(139,92,246,0.15));
    border-color: rgba(139,92,246,0.6);
    color: #c4b5fd;
}

.btn-action.btn-inventory {
    background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(59,130,246,0.15));
    border-color: rgba(59,130,246,0.6);
    color: #93c5fd;
}

.btn-action.btn-plugin {
    background: rgba(60, 45, 30, 0.7);
    border-color: var(--border-soft);
    color: var(--text-secondary);
}

.btn-action.btn-recharge {
    background: linear-gradient(135deg, rgba(34,197,94,0.3), rgba(34,197,94,0.15));
    border-color: rgba(34,197,94,0.6);
    color: #86efac;
}

.btn-action.btn-logout {
    background: linear-gradient(135deg, rgba(239,68,68,0.3), rgba(239,68,68,0.15));
    border-color: rgba(239,68,68,0.6);
    color: #fca5a5;
}

.btn-action.btn-login {
    background: linear-gradient(135deg, var(--border-gold), #8b6914);
    border-color: var(--accent-gold);
    color: #1a1208;
    width: 100%;
}

.btn-action.btn-register {
    background: linear-gradient(135deg, rgba(34,197,94,0.3), rgba(34,197,94,0.15));
    border-color: rgba(34,197,94,0.6);
    color: #86efac;
    width: 100%;
}

/* === Login Form === */
.form-group {
    margin-bottom: 12px;
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-group i {
    position: absolute;
    left: 14px;
    color: var(--accent-orange);
    font-size: 18px;
}

.form-input {
    width: 100%;
    padding: 12px 14px 12px 45px;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--border-gold);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 0 3px var(--shadow-gold);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.login-footer {
    margin-top: 15px;
    text-align: center;
}

.login-footer-text {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--accent-gold);
}

.alert-error {
    background: rgba(239,68,68,0.2);
    border: 1px solid rgba(239,68,68,0.5);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
    text-align: center;
}

/* === Social Links (Solo Discord y WhatsApp) === */
.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.social-link i {
    font-size: 16px;
    color: #fff;
}

.social-link span {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.social-link.discord {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    border: 1px solid #5865f2;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 1px solid #25d366;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
