/* ______                     _       _                        
-- |  _  \                   (_)     | |                       
-- | | | |_   _ ___  ___ _ __ _ _ __ | |_   ___ ___  _ __ ___  
-- | | | | | | / __|/ __| '__| | '_ \| __| / __/ _ \| '_ ` _ \ 
-- | |/ /| |_| \__ \ (__| |  | | |_) | |_ | (_| (_) | | | | | |
-- |___/  \__, |___/\___|_|  |_| .__/ \__(_)___\___/|_| |_| |_|
--         __/ |               | |                             
--        |___/                |_|                             
-- © Copyright 2024 - 2025 DyScript.com tous droits réservés */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    font-family: "Poppins", sans-serif !important;
}

:root{
	/* Couleurs principales */
	--bg-1: #0a0e27;
	--bg-2: #1a1d3e;
	--card-bg: rgba(30,32,48,0.9);
	--accent: #ffffff;
	--muted: #9ca3af;
    --color_base: #5f4724;
}

html,body{height:100%}
body{
	color:#e6eef8;
	min-height:100vh;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: var(--color_base) !important;
}

/* Logo */
.logo-img{
	max-width:240px;
	height:auto;
	display:inline-block;
	margin-bottom:18px;
}

/* Card principal */
.card{
	background: var(--color_base) !important;
    border-radius: 5px;
}

/* Zone d'upload */
.upload-area {
    border: 2px dashed rgb(255 255 255 / 28%);
    border-radius: 12px;
    background: transparent;
    transition: all .18s ease;
    cursor: pointer;
}

.upload-area:hover{border-color:rgba(255, 255, 255, 0.6);transform:translateY(-2px)}
.upload-area.drag-over{
	border-color:var(--accent);
	background:rgba(13,110,253,0.06);
	transform:scale(1.02);
}
.upload-label{padding:36px 18px;margin:0}
.file-text{color:var(--muted);display:block}
.file-name{color:var(--accent);margin-top:10px;font-weight:600;font-size:.95rem;min-height:20px}

.shadow-lg {
    box-shadow: 0px 0rem 1rem 2px rgb(0 0 0 / 44%) !important;
}

/* Bouton principal */
.btn-primary{
	background:linear-gradient(135deg,#ffffff 0%,#ffffff 100%) !important;
	border:none !important;
	border-radius:12px !important;
	padding:.9rem 1rem;
	font-weight:600;
	box-shadow:none;
    color: #000 !important;
}
.btn-primary:disabled{opacity:.6;cursor:not-allowed}

/* Bouton danger pour suppression */
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: .9rem 1rem;
    font-weight: 600;
    box-shadow: none;
    color: #fff !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%) !important;
}

/* Boutons outline */
.btn-outline-success {
    border: 2px solid #28a745 !important;
    color: #28a745 !important;
    background: transparent !important;
    padding: .9rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background: #28a745 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Résultat / input */
.input-group .form-control{
	background:rgba(255,255,255,0.03);
	border:1px solid rgba(255,255,255,0.06);
	color:#fff;
}
.input-group .form-control:focus{
	box-shadow:0 0 0 .2rem rgba(255, 255, 255, 0.12);
	border-color:var(--accent);
}

/* Alert animations */
.alert{border-radius:10px}
#message .alert{animation:slideIn .22s ease-out}

.alert-success {
    --bs-alert-color: #ffffff;
    --bs-alert-bg: #009e5675;
    --bs-alert-border-color: #009e5675;
    --bs-alert-link-color: #ffffff;
}

.alert-danger {
    --bs-alert-color: #ffffff;
    --bs-alert-bg: #64000a73;
    --bs-alert-border-color: #64000a73;
    --bs-alert-link-color: #ffffff;
}

.alert-warning {
    --bs-alert-color: #ffffff;
    --bs-alert-bg: #ffa50073;
    --bs-alert-border-color: #ffa50073;
    --bs-alert-link-color: #ffffff;
}

@keyframes slideIn{
	from{opacity:0;transform:translateY(-8px)}
	to{opacity:1;transform:translateY(0)}
}

/* Utilitaires */
.text-muted{color:var(--muted) !important}

/* Barre utilisateur */
.user-bar {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body {
    padding-top: 60px;
}

/* Bouton Discord */
.btn-discord {
    background-color: #fff;
    color: #000000 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: .9rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    transform: translateY(-2px);
    background-color: #fff;
}
