﻿.items-page {
    padding: 20px 40px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.item-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 20px;
    min-height: 200px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.item-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.item-category {
    color: #343a40;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.item-description {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.item-status {
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
}

.available {
    background: rgba(0,200,100,0.3);
    color: #00ff88;
    border: 1px solid rgba(0,200,100,0.5);
}

.unavailable {
    background: rgba(255,50,50,0.3);
    color: #ff6b6b;
    border: 1px solid rgba(255,50,50,0.5);
}

.no-items {
    color: white;
    font-size: 1.2rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.btn-back {
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 8px 20px;
}

.btn-new {
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 8px 20px;
}

.item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.btn-edit {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.85rem;
}

.btn-delete {
    background: rgba(255,50,50,0.3);
    color: #ff6b6b;
    text-decoration: none;
    border: 1px solid rgba(255,50,50,0.5);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.85rem;
}

.item-form {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    padding: 10px 15px;
    color: white;
    font-size: 1rem;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-create {
    background: rgba(0,200,100,0.4);
    color: white;
    border: 1px solid rgba(0,200,100,0.6);
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-create:hover {
    background: rgba(0,200,100,0.6);
}

.form-input option {
    background: #1a7a9a;
    color: white;
}