/* assets/css/style.css */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #5b006d;
    color: white;
    text-align: center;
    padding: 2px;
}

/* Main Content */
.main-content {
    text-align: center;
    margin-top: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 20px 20px;
    margin: 10px;
    background-color: #640000;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 25px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #340073;
}

/* Form */
form {
    background-color: white;
    padding: 20px;
    margin: 30px auto;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

form input[type="text"], form input[type="email"], input[type="password"]{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

form button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #45a049;
}

/* Table */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    text-align: left;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Footer */
footer {
    text-align: center;
    padding: 12px;
    background-color: #035a60;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
    font-size: 18px;
}
#course{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    }
#block{
    text-align: center;
}
#stream{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
#phone{
    padding-top: 10px;
    padding-bottom: 10px;      
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;  
    margin-bottom: 30px;
    width: 100%;
}
/* Updates Column */
.updates-column {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-right: 1px solid #ddd;
    box-sizing: border-box;
    
}

.updates-column h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.updates-scroller {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    animation: scrollTop 10s linear infinit;
}

.updates-scroller p {
    margin: 10px 0;
    padding: 8px 12px;
    background: #f1f1f1;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
}

/* Actions Column */
.actions-column {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.actions-column h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}
/* Main Container */
.main-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .updates-column {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .updates-scroller {
        max-height: 250px;
    }

    .actions-column {
        padding: 10px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}
/* Updates Scroller */
.updates-scroller {
    position: relative;
    height: max-content; /* Fixed height for the scrolling effect */
    overflow: hidden; /* Hide overflowing content */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    
}

.updates-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    animation: scroll-up 10s linear infinite; /* Smooth scrolling animation */
}

.updates-wrapper p {
    margin: 0;
    padding: 10px 15px;
    font-size: 14px;
    color: #555;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

/* Keyframes for Scrolling */
@keyframes scroll-up {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .updates-scroller {
        height: 150px; /* Adjust for smaller screens */
    }
}
.updates-wrapper a {
    display: block; /* Make each link occupy a full line */
    margin: 0;
    padding: 10px 15px;
    font-size: 14px;
    color: #aa0017; /* Link color */
    text-decoration: none;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s, color 0.3s;
}

.updates-wrapper a:hover {
    background: #007bff; /* Hover background color */
    color: #fff; /* Hover text color */
    cursor: pointer;
}
.status {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 30%;
    text-align: center;
    align-self: center;
}
.table,td,th{
    width: auto;
    text-align: center;
}
.th{
    text-align: center;
}
