@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:#f5f7fb;
    color:#111827;
}

a{
    text-decoration:none;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.topbar{
    background:white;
    border-bottom:1px solid #e5e7eb;
    padding:18px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    font-size:28px;
    font-weight:700;
    background:linear-gradient(90deg,#7c3aed,#06b6d4);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.nav-links{
    display:flex;
    gap:15px;
}

.nav-links a{
    color:#374151;
    font-weight:500;
    transition:0.3s;
}

.nav-links a:hover{
    color:#7c3aed;
}

.hero{
    padding:120px 20px;
    text-align:center;
}

.hero h1{
    font-size:58px;
    margin-bottom:20px;
}

.gradient{
    background:linear-gradient(90deg,#7c3aed,#06b6d4);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    color:#6b7280;
    font-size:20px;
    max-width:700px;
    margin:auto;
}

.btn{
    display:inline-block;
    margin-top:35px;
    padding:14px 30px;
    border-radius:14px;
    background:linear-gradient(90deg,#7c3aed,#06b6d4);
    color:white;
    font-weight:600;
    transition:0.3s;
    box-shadow:0 10px 30px rgba(124,58,237,0.25);
}

.btn:hover{
    transform:translateY(-3px);
}

.card{
    background:white;
    border-radius:24px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    border:1px solid #edf2f7;
}

.form-box{
    width:100%;
    max-width:450px;
    margin:80px auto;
}

.input{
    width:100%;
    padding:15px;
    border-radius:14px;
    border:1px solid #d1d5db;
    margin-top:15px;
    font-size:15px;
}

.input:focus{
    outline:none;
    border-color:#7c3aed;
    box-shadow:0 0 0 4px rgba(124,58,237,0.15);
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:30px;
}

.stat-card{
    background:white;
    padding:25px;
    border-radius:24px;
    border:1px solid #e5e7eb;
    position:relative;
    overflow:hidden;
}

.stat-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#7c3aed,#06b6d4);
}

.stat-card h3{
    color:#6b7280;
    font-size:15px;
}

.stat-card .value{
    margin-top:10px;
    font-size:32px;
    font-weight:700;
}
.alert{
    margin-top:18px;
    padding:14px 16px;
    border-radius:14px;
    font-weight:600;
}

.alert.error{
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #fecaca;
}

.alert.success{
    background:#dcfce7;
    color:#166534;
    border:1px solid #bbf7d0;
}

button.btn{
    border:none;
    cursor:pointer;
    width:100%;
    font-size:16px;
}

.welcome-box{
    margin-top:35px;
    position:relative;
    overflow:hidden;
}

.welcome-box::after{
    content:'';
    position:absolute;
    width:180px;
    height:180px;
    right:-60px;
    top:-60px;
    background:radial-gradient(circle, rgba(6,182,212,0.22), transparent 65%);
}

.welcome-box h1{
    font-size:34px;
    margin-bottom:10px;
}

.welcome-box p{
    color:#6b7280;
}

.section-card{
    margin-top:30px;
}

.section-card h2{
    margin-bottom:20px;
}

.table{
    width:100%;
    border-collapse:collapse;
}

.table th{
    text-align:left;
    color:#6b7280;
    font-size:14px;
    padding:14px;
    border-bottom:1px solid #e5e7eb;
}

.table td{
    padding:16px 14px;
    border-bottom:1px solid #f1f5f9;
}

.badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    background:linear-gradient(90deg, rgba(124,58,237,0.12), rgba(6,182,212,0.12));
    color:#6d28d9;
    font-weight:700;
    font-size:13px;
}

.muted{
    color:#6b7280;
}

.card{
    transition:0.25s;
}

.card:hover,
.stat-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 45px rgba(15,23,42,0.08);
}

.stat-card{
    transition:0.25s;
}
.btn-small{
    width:auto !important;
    padding:12px 22px;
    margin-top:20px;
}

.small-text{
    font-size:13px;
}

.wide-form{
    max-width:760px;
}

.form-label{
    display:block;
    margin-top:18px;
    font-weight:700;
    color:#374151;
    font-size:14px;
}

.textarea{
    min-height:130px;
    resize:vertical;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

select.input{
    background:white;
}

@media(max-width:800px){
    .form-grid{
        grid-template-columns:1fr;
    }

    .table{
        font-size:13px;
    }
}
.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
    margin-top:30px;
}

.product-card{
    background:white;
    border-radius:28px;
    padding:28px;
    border:1px solid #e5e7eb;
    position:relative;
    overflow:hidden;
    transition:0.3s;
}

.product-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(6,182,212,0.15),
        transparent 35%);
    pointer-events:none;
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(15,23,42,0.08);
}

.product-type{
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(124,58,237,0.1);
    color:#6d28d9;
    font-size:13px;
    font-weight:700;
    margin-bottom:18px;
}

.product-card h2{
    font-size:28px;
    margin-bottom:14px;
}

.product-card p{
    color:#6b7280;
    line-height:1.7;
}

.price-box{
    display:flex;
    justify-content:space-between;
    margin-top:28px;
    padding:20px;
    border-radius:20px;
    background:#f8fafc;
}

.price-box span{
    display:block;
    color:#6b7280;
    font-size:13px;
    margin-bottom:6px;
}

.price-box strong{
    font-size:24px;
}

.order-btn{
    margin-top:22px;
}
.btn-table{
    width:auto !important;
    margin-top:0;
    padding:9px 16px;
    border-radius:12px;
    font-size:13px;
}
.service-layout{
    display:grid;
    grid-template-columns:1fr 340px;
    gap:25px;
    margin-top:30px;
}

.service-main-card,
.service-side-card{
    min-height:260px;
}

.service-header-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
}

.service-header-row h2{
    font-size:34px;
    margin:10px 0;
}

.service-info-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-top:30px;
}

.info-box{
    padding:20px;
    border-radius:20px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
}

.info-box span{
    display:block;
    color:#6b7280;
    font-size:13px;
    margin-bottom:8px;
}

.info-box strong{
    font-size:20px;
}

.service-side-card h3{
    margin-bottom:18px;
}

.action-btn{
    display:block;
    padding:14px 16px;
    border-radius:14px;
    background:linear-gradient(90deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
    color:#4c1d95;
    font-weight:700;
    margin-bottom:12px;
}

.action-btn.danger{
    background:#fee2e2;
    color:#991b1b;
}

.action-btn.disabled{
    opacity:0.55;
    cursor:not-allowed;
}

@media(max-width:950px){
    .service-layout{
        grid-template-columns:1fr;
    }

    .service-info-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){
    .service-info-grid{
        grid-template-columns:1fr;
    }

    .service-header-row{
        flex-direction:column;
    }
}
.client-body{
    background:#f4f7fb;
    display:flex;
}

.sidebar{
    width:260px;
    min-height:100vh;
    background:#1e293b;
    color:white;
    padding:25px 18px;
    position:fixed;
    left:0;
    top:0;
}

.sidebar-logo{
    font-size:28px;
    font-weight:800;
    margin-bottom:35px;
    background:linear-gradient(90deg,#8b5cf6,#06b6d4);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.sidebar-section{
    margin-bottom:30px;
}

.sidebar-title{
    font-size:12px;
    text-transform:uppercase;
    opacity:0.5;
    margin-bottom:12px;
    font-weight:700;
}

.sidebar-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#e2e8f0;
    padding:13px 14px;
    border-radius:14px;
    margin-bottom:6px;
    transition:0.25s;
}

.sidebar-link:hover,
.sidebar-link.active{
    background:linear-gradient(90deg,#8b5cf6,#06b6d4);
    color:white;
}

.sidebar-count{
    background:rgba(255,255,255,0.18);
    padding:4px 9px;
    border-radius:999px;
    font-size:12px;
}

.client-main{
    margin-left:260px;
    width:100%;
}

.client-topbar{
    height:85px;
    background:white;
    border-bottom:1px solid #e5e7eb;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 35px;
}

.topbar-search input{
    width:320px;
    padding:14px 18px;
    border-radius:14px;
    border:1px solid #dbe2ea;
    background:#f8fafc;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.topbar-order-btn{
    background:linear-gradient(90deg,#8b5cf6,#06b6d4);
    color:white;
    padding:12px 22px;
    border-radius:14px;
    font-weight:700;
}

.topbar-user{
    font-weight:700;
}

.client-content{
    padding:35px;
}

.page-header{
    margin-bottom:25px;
}

.page-header h1{
    font-size:40px;
}

.client-card{
    background:white;
    border-radius:28px;
    padding:28px;
    border:1px solid #e5e7eb;
}

.modern-table{
    width:100%;
    border-collapse:collapse;
}

.modern-table th{
    text-align:left;
    color:#64748b;
    font-size:14px;
    padding:18px;
    border-bottom:1px solid #e2e8f0;
}

.modern-table td{
    padding:20px 18px;
    border-bottom:1px solid #f1f5f9;
}

.table-status{
    padding:7px 13px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}

.table-status.active{
    background:#dcfce7;
    color:#166534;
}

.table-arrow{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f1f5f9;
    color:#334155;
    font-size:20px;
}

.table-domain{
    color:#64748b;
    font-size:13px;
}
.service-title-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.service-title-row h1{
    font-size:34px;
    margin-bottom:10px;
}

.service-domain-link{
    color:#2563eb;
    font-weight:600;
}

.service-panel-layout{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:35px;
}

.service-left-menu{
    padding-top:10px;
}

.left-menu-link{
    display:block;
    padding:10px 0;
    color:#64748b;
    font-weight:600;
}

.left-menu-link.active{
    color:#2563eb;
}

.left-menu-link.danger{
    color:#dc2626;
}

.service-details-area{
    max-width:950px;
}

.service-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.details-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
}

.details-row{
    padding:22px;
    border-bottom:1px solid #f1f5f9;
    min-height:82px;
}

.details-row:nth-child(odd){
    border-right:1px solid #f1f5f9;
}

.details-row span{
    display:block;
    color:#64748b;
    font-size:13px;
    margin-bottom:8px;
}

.details-row strong{
    font-size:15px;
}

.details-row.full{
    grid-column:1 / -1;
    border-right:none;
}

.service-actions-bar{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin-bottom:18px;
}

.mini-action{
    color:#475569;
    font-weight:700;
    padding:8px 12px;
    border-radius:10px;
}

.mini-action:hover{
    background:#f1f5f9;
}

.mini-action.danger,
.danger-text{
    color:#dc2626;
}

.mt-20{
    margin-top:20px;
}

@media(max-width:900px){
    .service-panel-layout{
        grid-template-columns:1fr;
    }

    .details-grid{
        grid-template-columns:1fr;
    }

    .details-row:nth-child(odd){
        border-right:none;
    }
}
.client-body{
    background:#f4f7fb;
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:260px;
    min-height:100vh;
    background:#172033;
    color:white;
    padding:24px 16px;
    position:fixed;
    left:0;
    top:0;
    z-index:200;
}

.sidebar-logo{
    font-size:25px;
    font-weight:900;
    margin-bottom:35px;
    letter-spacing:-1px;
}

.sidebar-logo span{
    background:linear-gradient(90deg,#8b5cf6,#06b6d4);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.sidebar-section{
    margin-bottom:30px;
}

.sidebar-title{
    font-size:11px;
    text-transform:uppercase;
    opacity:0.45;
    margin-bottom:12px;
    font-weight:800;
    letter-spacing:0.8px;
}

.sidebar-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#dbeafe;
    padding:13px 14px;
    border-radius:14px;
    margin-bottom:6px;
    transition:0.25s;
    font-weight:600;
}

.sidebar-link:hover{
    background:linear-gradient(90deg,#8b5cf6,#06b6d4);
    color:white;
}

.sidebar-count{
    background:rgba(255,255,255,0.18);
    padding:4px 9px;
    border-radius:999px;
    font-size:12px;
}

.danger-link{
    color:#fecaca;
}

.client-main{
    margin-left:260px;
    width:calc(100% - 260px);
}

.client-topbar{
    height:82px;
    background:white;
    border-bottom:1px solid #e5e7eb;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 35px;
    position:sticky;
    top:0;
    z-index:100;
}

.topbar-search input{
    width:320px;
    padding:14px 18px;
    border-radius:14px;
    border:1px solid #dbe2ea;
    background:#f8fafc;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.topbar-order-btn{
    background:linear-gradient(90deg,#8b5cf6,#06b6d4);
    color:white;
    padding:12px 22px;
    border-radius:14px;
    font-weight:800;
    box-shadow:0 12px 28px rgba(124,58,237,0.22);
}

.topbar-icon{
    color:#64748b;
    font-weight:700;
}

.topbar-user{
    color:#334155;
    font-weight:800;
}

.client-content{
    padding:38px;
}

.page-header{
    margin-bottom:28px;
}

.page-header h1{
    font-size:40px;
    letter-spacing:-1px;
}

.page-header p{
    color:#64748b;
    margin-top:8px;
}

.client-card{
    background:white;
    border-radius:28px;
    padding:28px;
    border:1px solid #e5e7eb;
    box-shadow:0 18px 45px rgba(15,23,42,0.05);
}

.mt-30{
    margin-top:30px;
}

.modern-table{
    width:100%;
    border-collapse:collapse;
}

.modern-table th{
    text-align:left;
    color:#64748b;
    font-size:14px;
    padding:18px;
    border-bottom:1px solid #e2e8f0;
}

.modern-table td{
    padding:20px 18px;
    border-bottom:1px solid #f1f5f9;
}

.table-domain{
    color:#64748b;
    font-size:13px;
}

.table-status{
    display:inline-flex;
    padding:7px 13px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
}

.table-status.active{
    background:#dcfce7;
    color:#166534;
}

.table-status.unpaid{
    background:#fef3c7;
    color:#92400e;
}

.table-arrow{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f1f5f9;
    color:#334155;
    font-size:20px;
    transition:0.25s;
}

.table-arrow:hover{
    background:linear-gradient(90deg,#8b5cf6,#06b6d4);
    color:white;
}

.btn-table{
    width:auto !important;
    margin-top:0;
    padding:9px 16px;
    border-radius:12px;
    font-size:13px;
}

.service-title-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.service-title-row h1{
    font-size:34px;
    margin-bottom:10px;
}

.service-domain-link{
    color:#2563eb;
    font-weight:700;
}

.service-panel-layout{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:35px;
}

.service-left-menu{
    padding-top:10px;
}

.left-menu-link{
    display:block;
    padding:10px 0;
    color:#64748b;
    font-weight:700;
}

.left-menu-link.active{
    color:#2563eb;
}

.left-menu-link.danger{
    color:#dc2626;
}

.service-details-area{
    max-width:950px;
}

.service-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.details-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
}

.details-row{
    padding:22px;
    border-bottom:1px solid #f1f5f9;
    min-height:82px;
}

.details-row:nth-child(odd){
    border-right:1px solid #f1f5f9;
}

.details-row span{
    display:block;
    color:#64748b;
    font-size:13px;
    margin-bottom:8px;
}

.details-row strong{
    font-size:15px;
}

.details-row.full{
    grid-column:1 / -1;
    border-right:none;
}

.service-actions-bar{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin-bottom:18px;
}

.mini-action{
    color:#475569;
    font-weight:800;
    padding:8px 12px;
    border-radius:10px;
}

.mini-action:hover{
    background:#f1f5f9;
}

.mini-action.danger,
.danger-text{
    color:#dc2626;
}

.mt-20{
    margin-top:20px;
}

@media(max-width:900px){
    .sidebar{
        position:relative;
        width:100%;
        min-height:auto;
    }

    .client-body{
        display:block;
    }

    .client-main{
        margin-left:0;
        width:100%;
    }

    .client-topbar{
        flex-direction:column;
        height:auto;
        gap:15px;
        padding:20px;
    }

    .topbar-search input{
        width:100%;
    }

    .service-panel-layout{
        grid-template-columns:1fr;
    }

    .details-grid{
        grid-template-columns:1fr;
    }

    .details-row:nth-child(odd){
        border-right:none;
    }
}
.admin-filter-bar{
    display:grid;
    grid-template-columns:220px 220px auto auto;
    gap:14px;
    align-items:end;
}

.btn-light{
    display:inline-block;
    width:auto !important;
    padding:12px 22px;
    border-radius:14px;
    background:#f1f5f9;
    color:#334155;
    font-weight:800;
    margin-top:20px;
}

.admin-edit-form{
    margin-top:30px;
}

.form-section-title{
    margin-top:35px;
    padding-top:25px;
    border-top:1px solid #e5e7eb;
    font-size:22px;
}

@media(max-width:850px){
    .admin-filter-bar{
        grid-template-columns:1fr;
    }
}
.admin-stat-link{
    color:#111827;
}

.admin-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin-top:30px;
}

.admin-card-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
}

@media(max-width:1100px){
    .admin-grid-2{
        grid-template-columns:1fr;
    }
}
.ticket-form-card{
    max-width:760px;
}

.ticket-thread{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.admin-ticket-thread{
    margin-top:30px;
}

.ticket-message{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:20px;
    box-shadow:0 12px 30px rgba(15,23,42,0.04);
}

.ticket-message.admin-message{
    border-left:5px solid #06b6d4;
}

.ticket-message.client-message{
    border-left:5px solid #8b5cf6;
}

.ticket-message-head{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:12px;
    color:#64748b;
}

.ticket-message-head strong{
    color:#111827;
}

.ticket-message p{
    line-height:1.7;
}

.ticket-admin-actions{
    margin-top:20px;
}
/* Dopisz do assets/css/style.css jeśli jeszcze nie masz */
.order-tabs{display:flex;gap:12px;margin-bottom:25px;flex-wrap:wrap}.order-tabs a{padding:12px 18px;border-radius:14px;background:white;border:1px solid #e5e7eb;color:#334155;font-weight:800}.order-tabs a.active,.order-tabs a:hover{background:linear-gradient(90deg,#8b5cf6,#06b6d4);color:white}.spec-list{list-style:none;margin:20px 0;display:flex;flex-direction:column;gap:10px;color:#334155;font-weight:700}.alert.success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.alert.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}

/* Dopisz do assets/css/style.css */
.order-tabs{display:flex;gap:12px;margin-bottom:25px;flex-wrap:wrap}
.order-tabs a{padding:12px 18px;border-radius:14px;background:white;border:1px solid #e5e7eb;color:#334155;font-weight:800}
.order-tabs a.active,.order-tabs a:hover{background:linear-gradient(90deg,#8b5cf6,#06b6d4);color:white}
.spec-list{list-style:none;margin:20px 0;display:flex;flex-direction:column;gap:10px;color:#334155;font-weight:700;padding-left:0}