/* OS Lifecycle Checker */

/* Fields */
.olc-field {
  margin-top: 20px;
}

.olc-field label {
  display: block;
  font-weight: 600;
  color: #444;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.olc-field select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  appearance: none;
  background: #fff;
}

.olc-field select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.olc-field select:disabled {
  background-color: #f7f7f7;
  color: #aaa;
  cursor: not-allowed;
}

/* Button */
#olc-check-btn {
  margin-top: 24px;
  border: none;
  cursor: pointer;
}

#olc-check-btn:hover:not(:disabled) {
/*  background: #0056b3;*/
}

#olc-check-btn:disabled {
  color: #fff;
  cursor: not-allowed;
}

/* Loading */
.olc-load-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #888;
  padding: 6px 0;
  margin-top: 8px;
}

.olc-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid #ddd;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: olc-spin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes olc-spin {
  to { transform: rotate(360deg); }
}

/* Error */
.olc-error {
  margin-top: 1rem;
  padding: 10px 14px;
  background: #fdecea;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #b71c1c;
}

/* Result container */
.olc-result {
  margin-top: 20px;
}

/* Status box */
.olc-status-box {
  padding: 15px 0;
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 10px;
}

.olc-status-box.supported .olc-status-value {
background: #037E00;
}

.olc-status-box.warning .olc-status-value{
background: #ffe203;
color: #212529;
}

/*
.olc-status-box.unsupported {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}*/

.olc-status-box.warning {
  background-color: #fff;
  color: #212529;
  border: 0px;
}

.olc-status-label {
  font-weight: 400;
  opacity: 0.75;
  padding-right: 6px;
}

.olc-status-box.unsupported .olc-status-value{
  background-color: #FE0000;
}

.olc-status-value {
 /* display: block;
  font-size: 1.15rem;
  font-weight: 800;*/
  padding: 5px;
  color: #fff;  
}

.olc-support-text {
padding-top: 30px;
  display: block;
}
.olc-support-text a {
color: #57068C;
font-weight: 500;
}

/* Info rows */
.olc-info-text {
  text-align: left;
  color: #666;
  padding: 8px 0;
  border-top: 1px dashed #ddd;
}

.olc-info-text .highlight-days {
  color: #dc3545;
  font-weight: 900;
  text-decoration: underline;
}

.olc-info-text .latest-highlight {
  color: #57068C;
  font-weight: bold;
}

/* Replacement message â€” shown only when EOL */
.olc-replacement-msg {
  color: #721c24;
  font-weight: 600;
  font-style: italic;
}
