.page-header {
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.page-header-content {
    max-width: 1200px;
}
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}
.page-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.page-breadcrumb a:hover {
    color: #0066ff;
}
.page-breadcrumb span {
    color: #94a3b8;
}
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1628;
    margin: 0;
}
.page-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.page-header .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1628;
    margin: 0;
}
.page-header .subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.25rem;
}
.list-page-header {
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.list-page-header .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1628;
    margin: 0;
}
.list-page-header .subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.25rem;
}
.form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}
.form-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}
.section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-title i {
    color: #0066ff;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.form-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}
.required {
    color: #ef4444;
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 0.875rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.input-prefix {
    position: absolute;
    left: 0.875rem;
    color: #64748b;
    font-weight: 500;
    pointer-events: none;
}
.input-wrapper .input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.95rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.2s ease;
}
.input-wrapper .input:focus {
    border-color: #0066ff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    outline: none;
}
.input-wrapper:has(.input-prefix) .input {
    padding-left: 2rem;
}
.input-wrapper:has(.input-icon) .input {
    padding-left: 2.75rem;
}
.input-wrapper.input-with-button {
    display: flex;
    gap: 0.5rem;
}
.input-wrapper.input-with-button .input {
    flex: 1;
    padding-left: 2.75rem;
}
.input-wrapper.input-with-button .btn-small {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}
.select-wrapper {
    position: relative;
}
.select-wrapper select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.95rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.select-wrapper select:focus {
    border-color: #0066ff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    outline: none;
}
.select-arrow {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
.file-upload {
    position: relative;
}
.file-upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.file-upload-label:hover {
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.03);
}
.upload-icon {
    font-size: 2rem;
    color: #94a3b8;
}
.upload-text {
    font-size: 0.95rem;
    color: #64748b;
}
.upload-browse {
    color: #0066ff;
    font-weight: 600;
}
.upload-hint {
    font-size: 0.8rem;
    color: #94a3b8;
}
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}
.form-info {
    color: #94a3b8;
    font-size: 0.8rem;
}
.form-buttons {
    display: flex;
    gap: 0.75rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}
.btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}
.btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}
.form-container {
    max-width: 800px;
    margin: 0 auto;
}
.form-full {
    grid-column: 1 / -1;
}
.page-content .container {
    max-width: 100%;
    padding: 0;
}
.page-content .container.pb-6,
.page-content .container.pt-6 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.list-header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.list-header-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.list-header-actions .btn-primary {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}
.list-header-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}
.list-header-actions .btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}
.list-header-actions .btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}
.form-row{ display:flex; gap:10px; flex-wrap:wrap; }
.form-row .field{ flex:1 1 200px; min-width:150px; }

.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}
.product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1628;
    margin: 0;
}
.product-stock {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-stock i {
    color: #0066ff;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}
.permission-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.permission-item:hover {
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.05);
}
.permission-item:has(input:checked) {
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.1);
}
.permission-item input {
    width: 16px;
    height: 16px;
    accent-color: #0066ff;
}
.permission-item span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}
.permission-item span i {
    color: #64748b;
}
.permission-item:has(input:checked) span i {
    color: #0066ff;
}
