body {
  font-family: Arial, sans-serif;
  margin: 0;
  direction: rtl;
  background: #dff6dd;
  text-align: center;
}

.screen { display: none; padding: 20px; min-height: 100vh; }
.screen.active { display: block; }

.container {
  background: #ffffff;
  margin: 30px auto;
  padding: 20px;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo { width: 80px; margin-bottom: 15px; }

h1 { color: #2c7a2c; margin-bottom: 10px; }
h2 { color: #2c7a2c; margin-bottom: 10px; }
p { color: #333; margin-bottom: 20px; }

input, select, button { padding: 10px; margin: 5px 0; width: 90%; font-size: 16px; box-sizing: border-box; }

button { border: none; border-radius: 8px; cursor: pointer; transition: background 0.3s; }

.buttons button:first-child { background-color: #2c7a2c; color: white; }
.buttons button:first-child:hover { background-color: #1f541f; }
.buttons button:last-child { background-color: #28a745; color: white; }
.buttons button:last-child:hover { background-color: #1e8f1e; }

table { margin: 15px auto; border-collapse: collapse; width: 95%; background: white; }

th, td { border: 1px solid #ddd; padding: 8px; font-size: 14px; }
th { background: #28a745; color: white; }

.pass { color: green; font-weight: bold; }
.fail { color: red; font-weight: bold; }

/* موبايل */
@media (max-width: 500px){
  .container { width: 90%; padding: 15px; }
  input, select, button { width: 100%; font-size: 15px; }
  table { font-size: 13px; }
  thead { display: none; }
  tbody tr { display: block; margin-bottom: 10px; border-bottom: 2px solid #ddd; }
  tbody tr td { display: flex; justify-content: space-between; padding: 6px; }
}
