/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Tahoma', sans-serif;
    direction: rtl;
}

body {
    background-color: #f9f9f9;
    color: #222;
    padding: 20px;
    line-height: 1.6;
    justify-content: center;
    align-items: center;
}



.container {
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.top-line {
    height: 8px;
    background-color: #1d184c;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    margin: -30px -30px 20px -30px;
}


/* Golden line at the top */



.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 250px;
    height: auto;
}

.status-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Center items vertically */
  gap: 10px;
  margin-top: 30px;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
  max-width: 120px;
  height: 120px; /* Fixed height for consistent alignment */
  justify-content: space-between; /* Spread content vertically */
  text-align: center;
}


.status-circle {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  color: #333;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 8px; /* space between circle and text */
  flex-shrink: 0; /* prevent shrinking */
}

.status-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  max-height: 54px; /* limit height so all are similar */
  overflow-wrap: break-word;
}

.status-time {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}


.line {
    width: 30px;
    height: 2px;
    background-color: #ccc;
    align-self: center;
    flex-shrink: 0;
}


/* Headings */
h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}



/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: right;
}

table th {
    background-color: #f0f0f0;
    font-weight: bold;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #444;
}

input[type="text"],
input[type="password"],
input[type="time"],
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

button {
    background-color: #008060;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #006b4f;
}

/* Links */
a {
    color: #251d71;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Error Message */
p.error {
    color: red;
    font-weight: bold;
}
