/* ===== RESET ===== */
* {
    box-sizing: border-box;
}

/* ===== DASHBOARD ROOT ===== */
.admin-dashboard {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1f3c46, #2c5364);
    min-height: 100vh;
    padding: 20px;
}

.dashboard-title {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    padding: 20px;
    font-size: 48px;
}

.top-actions {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 20px;
    padding: 20px;
}


/* CONTAINER */
.dashboard-container {
    max-width: 900px;   /* increase width */
    margin: auto;
    padding: 20px;
}


/* ===== TOP BAR ===== */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    margin-bottom: 20px;
}

.search-box input {
    padding: 8px;
    width:400px;
    border-radius: 6px;
    border: none;
}

.search-box button {
    padding: 6px 10px;
    margin-left: 10px;
    background: #1e88e5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.export-btn {
    background: white;
    color: #1e88e5;
    padding: 14px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* ===== STATS ===== */
.stats {
    color: white;
    margin-bottom: 20px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

/* EACH BOX */
.stat-box {
    background: white;
    padding: 15px 50px;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* LABEL */
.stat-box div {
    font-size: 22px;
    color: #555;
    font-weight: bold;
}

/* VALUE */
.stat-box strong {
    font-size: 30px;
    color: #1e88e5;
    font-weight: bold;
}


/* ===== CARD ===== */
.card {
    width: 100%;              /* FULL WIDTH */
    background: white;
    border-radius: 12px;
    padding: 20px;

    margin-bottom: 25px;      /* SPACE BETWEEN CARDS */

    box-shadow: 0 6px 18px rgba(0,0,0,0.15);  /* nicer look */
}

/* INNER LAYOUT */
.card-row {
    display: flex;
    gap: 40px;
}

/* ===== PHOTO ===== */
.photo-box {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ===== CONTENT ===== */
.card-content {
    flex: 1;
}

/* HEADER */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TEXT */
.name {
    font-size: 24px;
    font-weight: bold;
}

.email {
    font-size: 18px;
    color: #666;
}

.info {
    font-size: 14px;
    margin-top: 8px;
    font-weight: bold;
}

/* ===== BADGE ===== */
.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.badge-red { background: #e74c3c; }
.badge-green { background: #2ecc71; }
.badge-yellow { background: #f1c40f; color: black; }
.badge-blue { background: #3498db; }
.badge-grey { background: #7f8c8d; color: white;}
.badge-black { background: #000000; color: white;}

.badge-blocked {
    background: white;
    color: red;
    font-weight: bold;
    font-size: 20px;
    border: 2px solid red;
}

/* ===== ACTIONS ===== */
.actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    
}

.actions a {
    margin-right: 10px;
    text-decoration: none;
    color: #1e88e5;
    font-weight: bold;
}

/* ===== FORM ===== */
.paid-form {
    margin-top: 10px;
}

.paid-form input {
    width: 60px;
    padding: 5px;
}

.paid-form button {
    padding: 6px 10px;
    margin-left: 5px;
    background: #1e88e5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .stats-bar {
        flex-direction: column;
        align-items: center;
    }

    .top-actions {
        flex-direction: column;
        align-items: center;
    }

    .card-row {
        flex-direction: column;
        align-items: center;
    }

    .photo-box {
        width: 100px;
        height: 100px;
    }

    .card {
        padding: 15px;
	width: 100%;
    }

    .search-box input {
        width: 200px;
    }
}

/* LOGIN TITLE */
.login-title {
    padding: 6px 10px;
    text-align: center;
    margin-bottom: 20px;
}

/* INPUTS */
input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 2px solid #ccc;
}

/* FULL BUTTON */
.full-btn {
    width: 100%;
    margin-top: 20px;
    background: #1e88e5; 
    color: white;
    padding: 4px;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 6px;
    
}

/* CLIENT ID*/
.client-id {
    font-size: 18px;
    color: #555;
    margin-top: 3px;
}

.client-id b {
    color: #000;
    letter-spacing: 1px;
}
