body {
    font-family: Arial, sans-serif;
    background: #f4f4f9;
    margin: 20px;
    color: #333;
}

h1 {
    text-align: center;
    color: #007bff;
}

/* FILTER BAR */
.controls {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.controls input,
.controls select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    flex: 1;
}

.controls button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.controls button:hover {
    background: #0056b3;
}

/* TABLE */
table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

td {
    word-wrap: break-word;
    white-space: normal;
    max-width: 150px;
}


th {
    background: #e9ecef;
    font-weight: bold;
    cursor: pointer;
}

tr:hover {
    background: #f8f9fa;
}

/* STATUS COLORS */
.status-pending { color: #f0ad4e; font-weight: bold; }
.status-interested { color: #28a745; font-weight: bold; }
.status-rejected { color: #dc3545; font-weight: bold; }
.status-followup { color: #007bff; font-weight: bold; }

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.modal-box {
    background: white;
    width: 35%;
    padding: 25px;
    border-radius: 8px;
    margin: 6% auto;
    position: relative;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: red;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.save-btn {
    background: #28a745;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.save-btn:hover {
    background: #1e7e34;
}


/* LOGOUT BUTTON */
.logout-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: #dc3545;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.logout-btn:hover {
    background: #b52a37;
}
