/* =========================================
   CloudX Hub Design System
========================================= */


:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --background: #f8fafc;

    --surface: #ffffff;

    --text: #0f172a;

    --muted: #64748b;

    --border: #e2e8f0;

    --success: #16a34a;

    --danger: #dc2626;

    --warning: #f59e0b;

    --radius: 16px;

    --shadow:
        0 8px 25px rgba(15,23,42,.08);

}



/* =========================================
   Global
========================================= */


body {

    min-height:100vh;

    background:

    radial-gradient(
        circle at top right,
        rgba(37,99,235,.15),
        transparent 35%
    ),

    radial-gradient(
        circle at bottom left,
        rgba(16,185,129,.12),
        transparent 30%
    ),

    var(--background);


    font-family:
    "Segoe UI",
    Arial,
    sans-serif;


    color:var(--text);

}



a {

    text-decoration:none;

}



/* =========================================
   Navbar
========================================= */


.navbar {

    background:
    rgba(255,255,255,.85)
    !important;


    backdrop-filter:
    blur(12px);


    box-shadow:
    0 2px 10px rgba(0,0,0,.08);

}


.navbar-brand {

    font-size:1.4rem;

    font-weight:700;

}



/* =========================================
   Cards
========================================= */


.dashboard-card,
.section-card,
.project-card,
.auth-card {


    background:
    var(--surface);


    border-radius:
    var(--radius);


    border:none;


    box-shadow:
    var(--shadow);


    transition:
    .2s ease;


    overflow:hidden;

}



.dashboard-card:hover,
.section-card:hover,
.project-card:hover,
.auth-card:hover {


    transform:
    translateY(-5px);


    box-shadow:

    0 15px 35px rgba(15,23,42,.12);

}




/* Accent line */

.dashboard-card::before,
.project-card::before,
.auth-card::before {


    content:"";


    display:block;


    height:4px;


    background:

    linear-gradient(
        90deg,
        #2563eb,
        #06b6d4
    );

}




/* =========================================
   Statistics
========================================= */


.stat-number {


    font-size:

    2.5rem;


    font-weight:

    700;


    color:

    var(--primary);

}



/* Statistic Icons */

.stat-icon {

    width:50px;

    height:50px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#eff6ff;

    color:var(--primary);

    font-size:1.5rem;

}



/* Authentication Icon */

.auth-icon {

    width:70px;

    height:70px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    background:#eff6ff;

    color:var(--primary);

    font-size:2rem;

}



/* =========================================
   Buttons
========================================= */


.btn {


    border-radius:

    10px;


    transition:

    .2s ease;

}



.btn:hover {


    transform:

    translateY(-2px);


    box-shadow:

    0 8px 15px rgba(0,0,0,.12);

}



/* =========================================
   Forms
========================================= */


.form-control,
textarea {


    border-radius:

    10px;


    border:

    1px solid var(--border);


    padding:

    .75rem;

}



.form-control:focus,
textarea:focus {


    border-color:

    var(--primary);


    box-shadow:

    0 0 0 .25rem rgba(37,99,235,.15);

}



/* =========================================
   Projects
========================================= */


.project-title {


    font-size:

    1.25rem;


    font-weight:

    700;

}


.project-description {


    color:

    var(--muted);

}



/* Project Badge */

.project-badge {

    background:#dbeafe;

    color:#1d4ed8;

    padding:

    6px 14px;


    border-radius:

    20px;


    font-size:

    .85rem;


    font-weight:

    600;

}



/* =========================================
   File Items
========================================= */


.file-item {


    display:flex;


    justify-content:space-between;


    align-items:center;


    background:#f8fafc;


    padding:12px;


    margin-bottom:10px;


    border-radius:12px;


    border:

    1px solid var(--border);

}


.file-item:hover {


    background:#eff6ff;

}



/* =========================================
   Upload Area
========================================= */


.upload-box {


    border:

    2px dashed #94a3b8;


    border-radius:

    14px;


    padding:

    25px;


    text-align:center;


    background:#fafafa;


    transition:.2s;

}



.upload-box:hover {


    border-color:

    var(--primary);


    background:#eff6ff;

}




/* =========================================
   Activity Logs
========================================= */


.activity-item {


    display:flex;


    align-items:center;


    gap:15px;


    padding:15px;


    border-bottom:

    1px solid var(--border);

}



.activity-icon {


    width:40px;


    height:40px;


    border-radius:50%;


    display:flex;


    align-items:center;


    justify-content:center;


    background:#dcfce7;


    color:var(--success);

}




/* =========================================
   Security Badge
========================================= */


.security-badge {


    display:inline-block;


    padding:

    8px 14px;


    border-radius:

    20px;


    background:

    #dcfce7;


    color:

    #15803d;


    font-size:

    .9rem;

}



/* =========================================
   Tables
========================================= */


.table {


    vertical-align:

    middle;

}



.table tbody tr:hover {


    background:

    #f8fbff;

}



/* =========================================
   Dashboard Lists
========================================= */


.list-group-item {

    border:

    1px solid var(--border);


    transition:

    .2s ease;

}



.list-group-item:hover {

    background:

    #eff6ff;


    transform:

    translateX(3px);

}



/* =========================================
   Alerts
========================================= */


.alert {

    border-radius:

    12px;


    border:none;

}



/* =========================================
   Layout
========================================= */


.container {

    max-width:

    1200px;

}



/* =========================================
   Icons
========================================= */


.bi {

    vertical-align:

    -0.1em;

}



/* =========================================
   Responsive
========================================= */


@media(max-width:768px){


    .navbar .container {


        flex-direction:

        column;


        gap:

        10px;

    }


}
