/*==============================================================
  COMMON ADMIN THEME
==============================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#e8eaed;
    color:#f3f4f6;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

.content-wrapper{
    background:#e8eaed !important;
}

.page-wrapper{
    padding:20px;
}

.page-title{
    color:#000;
    font-size:28px;
    font-weight:700;
    margin-bottom:5px;
}

.page-subtitle{
    color:#000000;
    font-size:14px;
    margin-bottom:25px;
}

/*==============================================================
  CARD
==============================================================*/

.modern-card{

    background:linear-gradient(145deg,#e8eaed,#e8eaed);

    border-radius:24px;

    padding: 20px;

    border:1px solid rgba(255,255,255,.06);

    box-shadow:0 10px 30px rgba(0,0,0,.35);

    overflow:hidden;
}

/*==============================================================
  FORM
==============================================================*/

.form-group{

    margin-bottom:22px;
}

.form-label{

    color:#000000;

    font-weight:600;

    font-size:14px;

    margin-bottom:8px;

    display:block;
}

.modern-input,
.modern-select,
.modern-textarea{

    width:100%;

    background:rgba(0,0,0,.04);

    color:#fff;

    border:1px solid rgba(255,255,255,.08);

    border-radius:14px;

    padding:14px 16px;

    transition:.3s;
}

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus{

    border-color:#b18f59;

    background:rgba(255,255,255,.06);

    box-shadow:0 0 0 4px rgba(255,204,0,.12);

    outline:none;
}

.modern-input::placeholder,
.modern-textarea::placeholder{

    color:#6b7280;
}

.modern-select option{

    background:#1f2937;

    color:#000;
}

/*==============================================================
  BUTTONS
==============================================================*/

.submit-btn{

    background:linear-gradient(135deg,#b18f59,#f59e0b);

    color:#e8eaed;

    border:none;

    border-radius:14px;

    padding:14px 30px;

    font-weight:700;

    transition:.3s;
}

.submit-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(255,204,0,.25);
}

.back-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:12px 22px;

    background:#e8eaed;

    color:#000;

    border-radius:14px;

    text-decoration:none;

    border:1px solid rgba(255,255,255,.08);

    transition:.3s;
}

.back-btn:hover{

    background:#000;

    color:#000;
}

/*==============================================================
  ACTION BUTTON
==============================================================*/

.action-btn{

    width:38px;

    height:38px;

    display:inline-flex;

    justify-content:center;

    align-items:center;

    border-radius:12px;

    text-decoration:none;

    border:none;

    transition:.3s;
}

.action-btn:hover{

    transform:translateY(-2px);

    color:#000;
}

.btn-view{

    background:rgba(59,130,246,.15);

    color:#60a5fa;
}

.btn-edit{

    background:rgba(34,197,94,.15);

    color:#4ade80;
}

.btn-key{

    background:rgba(255,204,0,.15);

    color:#b18f59;
}

/*==============================================================
  ALERTS
==============================================================*/

.success-alert{

    background:rgba(34,197,94,.15);

    border:1px solid rgba(34,197,94,.35);

    color:#86efac;

    padding:14px 18px;

    border-radius:14px;

    margin-bottom:25px;
}

.error-alert{

    background:rgba(239,68,68,.12);

    border:1px solid rgba(239,68,68,.28);

    color:#fca5a5;

    padding:14px 18px;

    border-radius:14px;

    margin-bottom:25px;
}

.error-alert ul{

    margin-top:10px;

    padding-left:20px;
}

/*==============================================================
  STATUS BADGES
==============================================================*/

.status-active,
.status-removed,
.status-pending,
.status-running,
.status-provision{

    display:inline-block;

    padding:4px 10px;

    border-radius:50px;

    font-size:11px;

    font-weight:600;

    letter-spacing:.5px;

    text-transform:uppercase;
}

.status-active{

    background:rgba(59,130,246,.18);

    color:#60a5fa;
}

.status-removed{

    background:rgba(239,68,68,.18);

    color:#f87171;
}

.status-pending{

    background:rgba(245,158,11,.18);

    color:#fbbf24;
}

.status-running{

    background:rgba(168,85,247,.18);

    color:#c084fc;
}

.status-provision{

    background:rgba(34,197,94,.18);

    color:#4ade80;
}

/*==============================================================
  RESPONSIVE
==============================================================*/

@media(max-width:768px){

    .page-wrapper{

        padding:15px;
    }

    .page-title{

        font-size:22px;
    }

    .modern-card{

        padding:20px;
    }

    .action-btn{

        width:34px;

        height:34px;
    }
}


/*==============================================================
    TABLE CSS
==============================================================*/

/* Table Wrapper */

.table-responsive{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    border-radius:18px;
}

/* Table */

.modern-table{
    width:100% !important;
    min-width:950px;
    border-collapse:separate;
    border-spacing:0 10px;
}

.modern-table thead th{
    background:rgba(255,255,255,.06);
    /* color:#d1d5db; */
    padding:16px;
    border:none !important;
    text-transform:uppercase;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
}

.modern-table tbody tr{
    background:rgba(255,255,255,.03);
    transition:.30s;
}

.modern-table tbody tr:hover{
    background:rgba(255,255,255,.06);
    transform:translateY(-2px);
}

.modern-table tbody td{
    /* color:#f3f4f6; */
    border:none !important;
    padding:16px;
    vertical-align:middle;
    white-space:nowrap;
}

/* Rounded Corners */

.modern-table tbody tr td:first-child{

    border-top-left-radius:14px;

    border-bottom-left-radius:14px;
}

.modern-table tbody tr td:last-child{

    border-top-right-radius:14px;

    border-bottom-right-radius:14px;
}

/*==============================================================
    DATATABLE
==============================================================*/

.dataTables_wrapper{

    color:#000000;
}

.dataTables_wrapper .dataTables_length{

    margin-bottom:18px;
}

.dataTables_wrapper .dataTables_filter{

    margin-bottom:18px;
}

.dataTables_wrapper .dataTables_info{

    margin-top:20px;
}

.dataTables_wrapper .dataTables_paginate{

    margin-top:20px;
}

/* Search */

.dataTables_wrapper .dataTables_filter input{

    background:rgba(255,255,255,.05);

    color:#000;

    border:2px solid rgba(255,255,255,.08);

    border-radius:10px;

    padding:8px 12px;

    /* outline:none; */
}

.dataTables_wrapper .dataTables_filter input:focus{

    border-color:#b18f59;

    box-shadow:0 0 0 4px rgba(255,204,0,.12);
}

/* Select */

.dataTables_wrapper .dataTables_length select{

    background:rgba(255,255,255,.05);

    color:#000;

    border:1px solid rgba(255,255,255,.08);

    border-radius:10px;

    padding:7px 10px;
}

.dataTables_wrapper .dataTables_length option{

    background:#1f2937;

    color:#000;
}

/* Pagination */

.dataTables_wrapper .dataTables_paginate .paginate_button{

    background:rgba(255,255,255,.05) !important;

    color:#000 !important;

    border:none !important;

    border-radius:8px;

    margin:2px;

    transition:.3s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover{

    /* background:#374151 !important; */

    color:#000 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current{

    /* background:#b18f59 !important; */

    color:#e8eaed !important;

    font-weight:700;
}

/* Processing */

.dataTables_processing{

    background:#1f2937 !important;

    color:#000 !important;

    border:none !important;

    border-radius:12px;
}

/*==============================================================
    RETURN ROW
==============================================================*/

.return-row td{

    background:rgba(220,38,38,.22) !important;

    color:#000 !important;
}

.return-row:hover td{

    background:rgba(220,38,38,.35) !important;
}

/*==============================================================
    STOCK COLORS
==============================================================*/

.minus-key{

    color:#f87171;

    font-weight:700;
}

.plus-key{

    color:#4ade80;

    font-weight:700;
}

/*==============================================================
    MOBILE
==============================================================*/

@media(max-width:768px){

    .modern-table{

        min-width:700px;
    }

    .modern-table thead th{

        padding:12px;

        font-size:13px;
    }

    .modern-table tbody td{

        padding:12px;

        font-size:13px;
    }

}


/*==============================================================
    DASHBOARD CSS
==============================================================*/

/* Dashboard Heading */

.dashboard-title{
    color:#000;
    font-size:30px;
    font-weight:700;
    margin-bottom:30px;
    letter-spacing:.5px;
}

/* Dashboard Row */

.dashboard-row{
    margin-bottom:25px;
}

/* Dashboard Card */

.dashboard-card{
    position:relative;
    overflow:hidden;
    border:none;
    border-radius:24px;
    background:linear-gradient(135deg,#1f2937,#e8eaed);
    box-shadow:0 10px 25px rgba(0,0,0,.35);
    transition:all .35s ease;
    color:#000;
    height:100%;
}

.dashboard-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(255,204,0,.15);
}

/* Decorative Circle */

.dashboard-card::before{
    content:'';
    position:absolute;
    width:150px;
    height:150px;
    border-radius:50%;
    background:rgba(255,204,0,.06);
    top:-55px;
    right:-55px;
    transition:.4s;
}

.dashboard-card:hover::before{
    transform:scale(1.2);
}

/* Decorative Bottom Circle */

.dashboard-card::after{
    content:'';
    position:absolute;
    width:90px;
    height:90px;
    border-radius:50%;
    background:rgba(255,255,255,.03);
    bottom:-35px;
    left:-35px;
}

/* Card Body */

.dashboard-card .card-body{
    padding:30px;
    position:relative;
    z-index:2;
}

/* Icon */

.card-icon{
    width:65px;
    height:65px;
    border-radius:18px;
    background:linear-gradient(135deg,#b18f59,#ffb300);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#e8eaed;
    font-size:30px;
    margin-bottom:20px;
    box-shadow:0 8px 18px rgba(255,204,0,.25);
}

/* Title */

.card-title-custom{
    font-size:15px;
    color:#b6bcc9;
    margin-bottom:10px;
    font-weight:500;
    text-transform:uppercase;
    letter-spacing:1px;
}

/* Count */

.card-count{
    font-size:40px;
    font-weight:700;
    color:#000;
    line-height:1;
}

/* Small Description */

.card-description{
    color:#9ca3af;
    font-size:13px;
    margin-top:12px;
}

/* Footer */

.dashboard-card-footer{
    border-top:1px solid rgba(255,255,255,.06);
    padding:15px 30px;
    color:#9ca3af;
    font-size:13px;
}

/* Card Variants */

.card-primary .card-icon{
    background:linear-gradient(135deg,#3b82f6,#2563eb);
    color:#000;
}

.card-success .card-icon{
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:#000;
}

.card-warning .card-icon{
    background:linear-gradient(135deg,#facc15,#eab308);
    color:#e8eaed;
}

.card-danger .card-icon{
    background:linear-gradient(135deg,#ef4444,#dc2626);
    color:#000;
}

.card-purple .card-icon{
    background:linear-gradient(135deg,#8b5cf6,#7c3aed);
    color:#000;
}

.card-cyan .card-icon{
    background:linear-gradient(135deg,#06b6d4,#0891b2);
    color:#000;
}

/* Dashboard Stats */

.dashboard-stat{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.dashboard-stat-left{
    flex:1;
}

.dashboard-stat-right{
    margin-left:20px;
}

/* Progress */

.dashboard-progress{
    width:100%;
    height:8px;
    border-radius:50px;
    background:rgba(255,255,255,.08);
    overflow:hidden;
    margin-top:18px;
}

.dashboard-progress-bar{
    height:100%;
    border-radius:50px;
    background:linear-gradient(90deg,#b18f59,#f59e0b);
}

/* Hover Animation */

.dashboard-card:hover .card-icon{
    transform:rotate(8deg) scale(1.08);
    transition:.35s;
}

/* Mobile */

@media(max-width:768px){

    .dashboard-title{
        font-size:24px;
    }

    .dashboard-card .card-body{
        padding:22px;
    }

    .card-count{
        font-size:32px;
    }

    .card-icon{
        width:58px;
        height:58px;
        font-size:26px;
    }

}


/*==============================================================
    FORM CSS
==============================================================*/

/* Card */

.form-card{
    max-width:900px;
    margin:auto;
}

.form-card .modern-card{
    padding:35px;
    position:relative;
    overflow:hidden;
}

.form-card .modern-card::before{
    content:'';
    position:absolute;
    top:-80px;
    right:-80px;
    width:220px;
    height:220px;
    background:rgba(255,204,0,.08);
    border-radius:50%;
}

/* Two Column Layout */

.input-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

/* Three Column Layout */

.input-grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

/* Single Column */

.input-grid-1{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

/* Form Group */

.form-group{
    margin-bottom:22px;
}

/* Label */

.form-label{
    display:block;
    margin-bottom:8px;
    color:#000000;
    font-size:14px;
    font-weight:600;
}

/* Inputs */

.modern-input,
.modern-select,
.modern-textarea{

    width:100%;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    color:#000;

    border-radius:14px;

    padding:14px 16px;

    transition:.30s;

    outline:none;
}

/* Input Height */

.modern-input,
.modern-select{

    height:54px;
}

/* Textarea */

.modern-textarea{

    min-height:130px;

    resize:vertical;
}

/* Placeholder */

.modern-input::placeholder,
.modern-textarea::placeholder{

    color:#6b7280;
}

/* Select */

.modern-select option{

    background:#1f2937;

    color:#000;
}

/* Focus */

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus{

    border-color:#b18f59;

    background:rgba(255,255,255,.06);

    box-shadow:0 0 0 4px rgba(255,204,0,.12);
}

/* Disabled */

.modern-input:disabled,
.modern-select:disabled,
.modern-textarea:disabled{

    opacity:.6;

    cursor:not-allowed;
}

/* Required */

.required{

    color:#ef4444;

    margin-left:3px;
}

/* Buttons */

.form-buttons{

    display:flex;

    gap:15px;

    margin-top:25px;

    flex-wrap:wrap;
}

.submit-btn{

    min-width:180px;

    display:inline-flex;

    justify-content:center;

    align-items:center;

    gap:8px;
}

.cancel-btn{

    min-width:180px;

    background:#374151;

    color:#000;

    border:none;

    border-radius:14px;

    padding:14px 24px;

    font-weight:600;

    transition:.30s;
}

.cancel-btn:hover{

    background:#4b5563;

    color:#000;
}

/* Back Button */

.back-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;
}

/* Validation */

.is-invalid{

    border-color:#ef4444 !important;
}

.invalid-feedback{

    display:block;

    margin-top:6px;

    color:#fca5a5;

    font-size:13px;
}

/* Success Message */

.success-alert{

    display:flex;

    align-items:center;

    gap:10px;
}

/* Error Message */

.error-alert{

    display:flex;

    flex-direction:column;
}

/* Checkbox */

.form-check{

    display:flex;

    align-items:center;

    gap:10px;
}

.form-check input{

    width:18px;

    height:18px;
}

/* File Upload */

.file-upload{

    border:2px dashed rgba(255,255,255,.15);

    border-radius:16px;

    padding:30px;

    text-align:center;

    transition:.30s;
}

.file-upload:hover{

    border-color:#b18f59;
}

/* Image Preview */

.image-preview{

    margin-top:20px;

    text-align:center;
}

.image-preview img{

    max-width:180px;

    border-radius:12px;

    border:2px solid rgba(255,255,255,.08);
}

/* Divider */

.form-divider{

    height:1px;

    background:rgba(255,255,255,.08);

    margin:30px 0;
}

/* Responsive */

@media(max-width:992px){

    .input-grid{

        grid-template-columns:1fr;
    }

    .input-grid-3{

        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .form-card .modern-card{

        padding:22px;
    }

    .form-buttons{

        flex-direction:column;
    }

    .submit-btn,
    .cancel-btn{

        width:100%;
    }

}



/*==============================================================
    LOGIN PAGE CSS
==============================================================*/

/* Login Body */

.login-page{
    min-height:100vh;
    background:linear-gradient(135deg,#0f0c29,#302b63,#24243e);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    position:relative;
}

/* Background Glow */

.login-page::before{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(255,215,0,.15);
    border-radius:50%;
    top:-100px;
    left:-100px;
    filter:blur(40px);
}

.login-page::after{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(93,87,244,.25);
    border-radius:50%;
    bottom:-100px;
    right:-100px;
    filter:blur(40px);
}

/* Main Wrapper */

.login-wrapper{
    width:100%;
    max-width:1100px;
    border-radius:25px;
    overflow:hidden;
    
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    box-shadow:0 15px 40px rgba(0,0,0,.40);
    position:relative;
    z-index:2;
}

/* Left Section */

.left-side{
    background:linear-gradient(135deg,#122948,#1d1d1d);
    padding:60px;
    color:#000;
    display:flex;
    flex-direction:column;
    justify-content:center;
    height:100%;
}

/* Right Section */

.right-side{
    background:rgba(255,255,255,.06);
    padding:60px 50px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Logo */

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.logo img{
    width:60px;
    height:60px;
    object-fit:contain;
}

.logo-text{
    font-size:32px;
    font-weight:700;
    color:#b18f59;
    letter-spacing:1px;
}

/* Welcome */

.welcome-text{
    font-size:42px;
    font-weight:700;
    line-height:1.25;
    margin-bottom:15px;
    color:#000;
}

.welcome-text span{
    color:#b18f59;
}

.sub-text{
    color:#d1d5db;
    font-size:16px;
    line-height:1.8;
    margin-bottom:30px;
}

/* Login Card */

.login-card{
    width:100%;
    max-width:420px;
}

/* Titles */

.login-title{
    color:#000;
    font-size:34px;
    font-weight:700;
    margin-bottom:10px;
}

.login-subtitle{
    color:#000000;
    margin-bottom:35px;
}

/* Input */

.login-page .form-control{

    width:100%;

    height:55px;

    border:none;

    border-radius:14px;

    background:rgba(255,255,255,.10);

    color:#000;

    padding:0 18px;

    transition:.30s;
}

.login-page .form-control::placeholder{
    color:#cbd5e1;
}

.login-page .form-control:focus{

    background:rgba(255,255,255,.15);

    border:1px solid #b18f59;

    color:#000;

    box-shadow:none;
}

/* Login Button */

.login-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:14px;

    background:linear-gradient(135deg,#b18f59,#ffb300);

    color:#e8eaed;

    font-size:18px;

    font-weight:700;

    transition:.30s;
}

.login-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(255,215,0,.35);
}

/* Mobile Image */

.mobile-image{
    width:100%;
    max-width:420px;
    display:block;
    margin:auto;
    filter:drop-shadow(0 0 20px rgba(255,215,0,.30));
}

/* Forgot Password */

.forgot-password{

    display:flex;

    justify-content:flex-end;

    margin-top:12px;

    margin-bottom:20px;
}

.forgot-password a{

    color:#b18f59;

    text-decoration:none;

    font-size:14px;
}

.forgot-password a:hover{

    text-decoration:underline;
}

/* Footer */

.login-footer{

    text-align:center;

    margin-top:25px;

    color:#cbd5e1;

    font-size:14px;
}

/* Mobile */

@media(max-width:991px){

    .left-side{
        display:none;
    }

    .right-side{
        padding:40px 25px;
    }

    .login-title{
        font-size:28px;
    }

    .welcome-text{
        font-size:34px;
    }
}

@media(max-width:576px){

    .login-wrapper{
        border-radius:18px;
    }

    .right-side{
        padding:30px 20px;
    }

    .login-title{
        font-size:24px;
    }

    .logo-text{
        font-size:26px;
    }

    .login-btn{
        height:50px;
    }
}