body { font-family: Arial, sans-serif; background: #f4f4f4; margin: 0; }
.login-container { max-width: 350px; margin: 100px auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px #0001; }
.login-container h2 { margin-top: 0; }
.login-container input { width: 100%; padding: 10px; margin: 10px 0; }
.login-container button { width: 100%; padding: 10px; background: #0073aa; color: #fff; border: none; border-radius: 4px; cursor: pointer; }
.login-container .error { color: #b00; margin-bottom: 10px; }
.dashboard-header { background: #0073aa; color: #fff; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.dashboard-header h1 { margin: 0; }
.logout-btn { color: #fff; text-decoration: none; background: #b00; padding: 8px 16px; border-radius: 4px; }
.dashboard-nav { background: #fff; padding: 10px 20px; display: flex; gap: 10px; border-bottom: 1px solid #eee; }
.nav-btn { background: #0073aa; color: #fff; border: none; padding: 10px 18px; border-radius: 4px; cursor: pointer; }
#dashboard-content { padding: 30px; }

/* Suggestion Styles */
.suggestion-item:hover { background: #f0f0f0; }
.suggestion-item:last-child { border-bottom: none !important; }

/* Autocomplete Container Styles */
#theme-suggestions, #plugin-suggestions {
    background: white !important;
    border: 2px solid #0073aa !important;
    border-top: none !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    z-index: 9999 !important;
}

/* Debug Section */
.debug-section {
    background: #f0f0f0;
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
}

/* Settings Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    position: relative;
}

.close-settings {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close-settings:hover,
.close-settings:focus {
    color: black;
    text-decoration: none;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input[type="radio"] {
    width: auto;
    margin-right: 5px;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.success {
    color: green;
    padding: 10px;
    border-radius: 4px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.error {
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.suggestion-item:hover {
    background: #0073aa !important;
    color: white !important;
}

/* Table Styles */
table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
th { background: #0073aa; color: #fff; padding: 12px 8px; text-align: left; font-weight: bold; }
td { padding: 10px 8px; border-bottom: 1px solid #eee; }
tr:hover { background: #f8f8f8; }

/* Button Styles */
.ajax-action { background: #0073aa; color: #fff; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; margin: 2px; font-size: 12px; }
.ajax-action:hover { background: #005a8b; }
.ajax-action[data-action*="delete"] { background: #b00; }
.ajax-action[data-action*="delete"]:hover { background: #900; }

/* Message Styles */
.success { background: #d4edda; color: #155724; padding: 10px; border: 1px solid #c3e6cb; border-radius: 4px; margin: 10px 0; }
.error { background: #f8d7da; color: #721c24; padding: 10px; border: 1px solid #f5c6cb; border-radius: 4px; margin: 10px 0; }

/* Form Styles */
form { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin: 20px 0; }
form input { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ddd; border-radius: 4px; }
form button { background: #0073aa; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }
form button:hover { background: #005a8b; }

/* Settings Modal Styles */
#settings-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

#settings-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-settings {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-settings:hover,
.close-settings:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.close-settings {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-settings:hover {
    color: #000;
}

.settings-form input[type="text"],
.settings-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.settings-form label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

.settings-form .radio-group {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.settings-form .radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}

.settings-form button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}

.settings-form button:hover {
    background: #005a8b;
}

.settings-form button[type="submit"] {
    background: #28a745;
}

.settings-form button[type="submit"]:hover {
    background: #218838;
}
