/* Flytrippers Bug Reporter Styles */

/* Modal base styles */
.ft-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.ft-modal.ft-modal-open {
    display: block;
}

.ft-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ft-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.ft-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.ft-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.ft-modal-close:hover {
    color: #333;
}

/* Form styles */
#ft-bug-report-form {
    padding: 20px;
}

.ft-form-group {
    margin-bottom: 20px;
}

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

.ft-char-limit {
    font-weight: normal;
    color: #666;
    font-size: 12px;
}

.ft-form-group input[type="text"],
.ft-form-group input[type="email"],
.ft-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.ft-form-group input[type="text"]:focus,
.ft-form-group input[type="email"]:focus,
.ft-form-group textarea:focus {
    outline: none;
    border-color: #0099FF;
}

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

/* Honeypot field - hidden */
.honeypot-field {
    position: absolute;
    left: -9999px;
}

/* Checkbox styles */
.ft-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.ft-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.ft-checkbox-label span {
    font-size: 14px;
    line-height: 1.5;
}

/* Submit button */
.ft-form-actions {
    margin-top: 25px;
}

.ft-submit-btn {
    background: #0099FF;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ft-submit-btn:hover {
    background: #0077cc;
}

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

/* Messages */
.ft-form-message {
    margin-top: 15px;
}

.ft-success,
.ft-error {
    padding: 12px;
    border-radius: 4px;
    text-align: center;
}

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

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

/* Trigger link */
#flytrippers-bug-report-trigger {
    color: #0099FF;
    text-decoration: none;
    transition: opacity 0.2s;
}

#flytrippers-bug-report-trigger:hover {
    opacity: 0.8;
}

/* Responsive styles */
@media (max-width: 600px) {
    .ft-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .ft-modal-header {
        padding: 15px;
    }
    
    #ft-bug-report-form {
        padding: 15px;
    }
    
    .ft-submit-btn {
        width: 100%;
    }
}