/* ---------- Wrapper ---------- */
#fd-driver-report-wrapper {
    max-width: 760px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Guest login message ---------- */
.fd-guest-msg {
    text-align: center;
    padding: 40px 20px;
    background: #fff7f7;
    border: 1px solid #ffd4d4;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 4px 10px rgba(255,0,0,0.08);
}
.fd-guest-msg p {
    margin: 10px 0;
    font-size: 16px;
}
.fd-login-btn {
    display: inline-block;
    background: #d93025;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.25s ease;
}
.fd-login-btn:hover {
    background: #b82218;
    transform: translateY(-1px);
}

/* ---------- Search area ---------- */
.fd-search-block {
    margin-bottom: 1.5rem;
}
#fd-driver-search {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.2s ease-in-out;
}
#fd-driver-search:focus {
    border-color: #d93025;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217,48,37,0.15);
}
.fd-search-results {
    margin-top: 12px;
}

/* ---------- Driver search results ---------- */
.fd-driver-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fd-driver-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    align-items: center;
    margin-bottom: 10px;
    transition: background 0.2s, transform 0.2s;
}
.fd-driver-item:hover {
    background: #fafafa;
    transform: translateY(-2px);
}
.fd-driver-item.fd-selected {
    background: #fff3f2;
    border-color: #ffb4ad;
}
.fd-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.fd-no-thumb {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    color: #888;
    font-size: 13px;
}
.fd-meta {
    flex: 1;
}
.fd-name {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}
.fd-actions {
    margin-top: 6px;
    font-size: 14px;
}
.fd-actions a {
    color: #d93025;
    text-decoration: none;
    margin-right: 8px;
    font-weight: 500;
}
.fd-actions a:hover {
    text-decoration: underline;
}

/* ---------- Form fields ---------- */
.fd-driver-report-form input[type="text"],
.fd-driver-report-form input[type="email"],
.fd-driver-report-form select,
.fd-driver-report-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border 0.2s, box-shadow 0.2s;
}
.fd-driver-report-form input:focus,
.fd-driver-report-form textarea:focus,
.fd-driver-report-form select:focus {
    border-color: #d93025;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217,48,37,0.15);
}

/* ---------- Submit button (Red) ---------- */
#fd-submit-report {
    background: #d93025;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
#fd-submit-report:hover {
    background: #b82218;
    transform: translateY(-1px);
}
#fd-submit-report:disabled {
    background: #999;
    cursor: not-allowed;
}

/* ---------- Modal ---------- */
.fd-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.fd-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    max-width: 420px;
    width: 92%;
    position: relative;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    text-align: center;
}
.fd-modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}
.fd-modal h3 {
    color: #d93025;
    margin-top: 0;
}

/* ---------- Utility ---------- */
.fd-loading,
.fd-error,
.fd-no-results {
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: center;
}














