.ddm-container {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ddm-debug {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    font-family: monospace;
}

.ddm-debug h4 {
    margin-top: 0;
    color: #0066cc;
}

.ddm-debug ul {
    margin: 0;
    padding-left: 20px;
}

.ddm-debug li {
    margin-bottom: 5px;
}

.ddm-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.ddm-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.ddm-table th,
.ddm-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.ddm-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1a202c;
}

.ddm-table tr:hover {
    background-color: #f8fafc;
}

.ddm-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.ddm-link:hover {
    background-color: #0052a3;
    color: #fff;
}

/* Admin styles */
.card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
    padding: 20px;
    position: relative;
}

.card h2 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#ddm-add-form .form-table th {
    width: 200px;
}

.delete-data {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}

.delete-data:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
}

/* Frontend Form Styles */
.ddm-frontend-form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ddm-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ddm-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ddm-form-group label {
    font-weight: 500;
    color: #333;
}

.ddm-form-group input,
.ddm-form-group textarea,
.ddm-form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.ddm-form-group input:focus,
.ddm-form-group textarea:focus,
.ddm-form-group select:focus {
    border-color: #0066cc;
    outline: none;
}

.ddm-submit-btn {
    background-color: #0066cc;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.ddm-submit-btn:hover {
    background-color: #0052a3;
}

#ddm-form-message {
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#ddm-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#ddm-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
} 