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

.wpspeedtestpro-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.modal-header h2 i {
    margin-right: 10px;
    color: #666;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.col-4 {
    flex: 0 0 calc(33.333% - 14px);
}

.col-6 {
    flex: 0 0 calc(50% - 10px);
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

/* File Upload Styles */
.file-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-upload input[type="file"] {
    display: none;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #f0f0f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.upload-btn:hover {
    background: #e0e0e0;
}

.selected-files {
    color: #666;
    font-size: 0.9em;
}

/* Error Message */
.submit-error {
    background: #fee;
    border-left: 4px solid #c00;
    padding: 10px;
    margin-top: 10px;
    border-radius: 2px;
    color: #c00;
}

/* Loading Spinner */
.spinner {
    background: url(../assets/spinner.gif) no-repeat;
    background-size: 20px 20px;
    display: inline-block;
    visibility: visible;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-left: 5px;
}