/**
 * Kunstpate Core - Kunstwerk System Styles
 * 
 * @package KunstpartnerCore
 * @version 1.0
 */

/* Kunstwerk-Liste */
.kp-kunstwerk-list {
    margin: 20px 0;
}

.kp-kunstwerk-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
}

.kp-kunstwerk-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.kp-kunstwerk-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.kp-kunstwerk-meta span {
    display: inline-block;
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 3px;
    font-size: 0.9em;
}

.kp-kunstwerk-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.85em;
}

.kp-kunstwerk-status.verfuegbar {
    background: #4caf50;
    color: #fff;
}

.kp-kunstwerk-status.verkauft {
    background: #f44336;
    color: #fff;
}

.kp-kunstwerk-status.privat {
    background: #ff9800;
    color: #fff;
}

/* Interessent-Formular */
.kp-interessent-form {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.kp-add-interessent-btn {
    background: #2196F3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.3s;
}

.kp-add-interessent-btn:hover {
    background: #1976D2;
}

.kp-add-interessent-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Freigabe-Formular */
.kp-freigeben-form {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.kp-freigeben-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.kp-freigeben-form input[type="text"],
.kp-freigeben-form input[type="number"],
.kp-freigeben-form input[type="date"] {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.kp-freigeben-form button[type="submit"] {
    background: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.3s;
}

.kp-freigeben-form button[type="submit"]:hover {
    background: #45a049;
}

.kp-freigeben-form button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Erfolgs-Nachrichten */
.kp-success-message {
    padding: 15px;
    background: #4caf50;
    color: #fff;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
}

.kp-error-message {
    padding: 15px;
    background: #f44336;
    color: #fff;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
}

/* Interessenten-Liste */
.kp-interessenten-list {
    margin-top: 15px;
}

.kp-interessenten-list h4 {
    margin-bottom: 10px;
}

.kp-interessenten-list ul {
    list-style: none;
    padding: 0;
}

.kp-interessenten-list li {
    padding: 8px;
    background: #f5f5f5;
    margin-bottom: 5px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .kp-kunstwerk-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .kp-freigeben-form input[type="text"],
    .kp-freigeben-form input[type="number"],
    .kp-freigeben-form input[type="date"] {
        max-width: 100%;
    }
}
