/* ResponsibleDisclosure.io WordPress Plugin Styles */

.rd-report-form-container {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.rd-report-form-container h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

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

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

.rd-form-group input[type="text"],
.rd-form-group input[type="email"],
.rd-form-group select,
.rd-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

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

.rd-form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.rd-form-actions {
    margin-top: 20px;
    text-align: center;
}

.rd-submit-btn {
    background: #007cba;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.rd-submit-btn:hover {
    background: #005a87;
}

.rd-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.rd-form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.rd-form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rd-form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.rd-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

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

.rd-modal-close:hover,
.rd-modal-close:focus {
    color: #000;
}

/* Button Styles */
.rd-policy-modal-btn,
.rd-report-modal-btn {
    background: #007cba;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.rd-policy-modal-btn:hover,
.rd-report-modal-btn:hover {
    background: #005a87;
}

.rd-policy-link {
    color: #007cba;
    text-decoration: none;
    font-weight: bold;
}

.rd-policy-link:hover {
    text-decoration: underline;
}

/* Admin Styles */
.rd-admin-help {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.rd-admin-help h2 {
    margin-top: 0;
    color: #333;
}

.rd-admin-help code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rd-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }

    .rd-report-form-container {
        padding: 15px;
    }
}