/* Plus Indemnity Decommission Page Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&family=Montserrat:wght@600;700&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4em;
  color: #5d5d5d;
  background: #f1f1f1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wrapper {
  width: 100%;
  max-width: 900px;
}

/* Main Content */
main {
  width: 100%;
}

.notification-box {
  background: white;
  border-radius: 10px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(20, 81, 144, 0.1);
  text-align: center;
}

.logo-center {
  max-width: 180px;
  height: auto;
  margin: 0 auto 40px;
  display: block;
}

.notification-icon {
  width: 50px;
  height: 50px;
  background: #145190;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-icon svg {
  width: 28px;
  height: 28px;
}

h1 {
  color: #145190;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.message {
  font-size: 1.15em;
  font-weight: 400;
  color: #5d5d5d;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: left;
}

.redirect-info {
  background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
  border: 2px solid #e8f4f8;
  border-radius: 12px;
  padding: 35px;
  margin: 40px 0 0 0;
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(20, 81, 144, 0.06);
}

/* Timer with circular progress */
.timer-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.progress-ring {
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 4px rgba(20, 81, 144, 0.1));
}

.progress-ring-circle {
  transition: stroke-dashoffset 1s linear;
  stroke-dasharray: 289;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}

.countdown-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.countdown {
  display: block;
  font-size: 2em;
  font-weight: bold;
  color: #145190;
  font-family: 'Courier New', monospace;
  line-height: 1;
  margin-bottom: 2px;
}

.countdown-label-small {
  font-size: 0.7em;
  color: #7a8da0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Redirect content */
.redirect-content {
  flex: 1;
}

.redirect-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.redirect-header svg {
  animation: slideRight 1.5s ease-in-out infinite;
}

.redirect-title {
  color: #145190;
  font-size: 0.95em;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.redirect-text {
  margin: 0 0 10px 0;
  color: #5d5d5d;
  font-size: 1.05em;
  line-height: 1.5;
}

.redirect-text strong {
  color: #145190;
  font-weight: 600;
}

.manual-redirect {
  margin: 15px 0 0 0;
  font-size: 0.9em;
  color: #7a8da0;
  line-height: 1.5;
}

.redirect-link {
  color: #145190;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.redirect-link:hover {
  color: #0f3d6b;
  text-decoration: none;
}

@keyframes slideRight {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #145190;
  color: white;
  border: 2px solid #145190;
}

.btn-primary:hover {
  background: #0d3a66;
  border-color: #0d3a66;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 81, 144, 0.4);
}

.btn-secondary {
  background: white;
  color: #145190;
  border: 2px solid #145190;
}

.btn-secondary:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

/* Responsive */
@media only screen and (max-width: 768px) {
  body {
    padding: 15px;
  }

  .notification-box {
    padding: 30px 20px;
  }

  .logo-center {
    max-width: 140px;
    margin-bottom: 30px;
  }

  h1 {
    font-size: 1.6em;
  }

  .redirect-info {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 25px 20px;
  }

  .timer-wrapper {
    margin: 0 auto;
  }

  .redirect-content {
    text-align: center;
  }

  .redirect-header {
    justify-content: center;
  }

  .redirect-url {
    font-size: 0.85em;
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
