/* 🎨 TOP HEADER STYLING */
.top-header {
    background: linear-gradient(90deg, #007bff, #6610f2); /* Blue to Purple Gradient */
    color: white;
    padding: 25px;
    text-align: center;
    margin-bottom: 15px;
    border-radius: 0 0 15px 15px;
}

.top-header h1 {
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: bold;
}

.top-header p {
    margin: 5px 0;
    font-size: 18px;
}

/* 🎨 SIDEBAR STYLING */
.sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    height: 100vh;
    border-right: 3px solid #007bff;
}

.sidebar .nav-link {
    font-size: 18px;
    color: #007bff;
    font-weight: bold;
    padding: 10px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: #007bff;
    color: white;
    border-radius: 8px;
}

/* 🎨 CONTENT SECTION STYLING */
.content-area {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    min-height: 80vh;
    border-left: 5px solid #007bff;
    animation: fadeIn 0.5s ease-in-out;
}

/* Fade-in effect */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🎨 BUTTON STYLING */
button {
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

button#start {
    background-color: #28a745; /* Green */
    color: white;
}

button#stop {
    background-color: #dc3545; /* Red */
    color: white;
}

button#fetchText {
    background-color: #007bff; /* Blue */
    color: white;
}

button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* 🎨 ALERT BOX STYLING */
.alert {
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

.alert-success {
    background-color: #28a745;
    color: white;
}

.alert-danger {
    background-color: #dc3545;
    color: white;
}


/* Table styling */
#data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#data-table th, #data-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

#data-table th {
    background-color: #f0f0f0;
}

/* Pagination buttons */
#pagination button {
    padding: 5px 10px;
    margin: 2px;
    border: 1px solid #888;
    background-color: white;
    cursor: pointer;
}

#pagination .active-page {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
}

/* Search input */
#searchInput {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}
