* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background #cf0c0cff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}

.container {
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #333;
}

.button_groupo {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    gap: 20px;

}

.crud_button {
    padding: 30px;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#create_id,
#read_id,
#update_id,
#delete_id {}

.create_class,
.read_class,
.update_class,
.delete_class {}

.create_class,
#create_id {
    background-color: #06b6d4;
}

.read_class,
#read_id {
    background-color: #10b981;
}

.update_class,
#update_id {
    background-color: #f97316;
}

.delete_class,
#delete_id {
    background-color: #f33c70;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #06b6d4;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #0891b2;
}

.update-submit-btn {
    background: #f97316;
}

.update-submit-btn:hover {
    background: #ea580c;
}

.data-display {
    text-align: left;
}

.data-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.data-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.data-item-label {
    font-weight: bold;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.data-item-value {
    color: #333;
    word-break: break-word;
}

.delete-field-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.delete-field-btn:hover {
    background: #dc2626;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 40px;
}

.delete-all-btn {
    width: 100%;
    padding: 12px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.delete-all-btn:hover {
    background: #dc2626;
}
