/* Link Analysis Styles */
.url-analysis {
  max-width: 800px;
  width: 100%;
}

.url-analysis h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.analysis-container {
  background-color: var(--bg-dark);
  border-radius: var(--radius);
  padding: 25px;
  border: 1px solid var(--accent);
}

.link-info {
  margin-bottom: 25px;
}

.link-info .info-row {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.link-info .info-label {
  font-weight: bold;
  width: 120px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.link-info .info-value {
  color: var(--text-primary);
  word-break: break-all;
}

.full-url {
  font-weight: 600;
  color: var(--primary) !important;
}

.domain {
  font-weight: 600;
}

.secure {
  color: #2ecc71 !important;
}

.warning {
  color: #e74c3c !important;
}

.secure-indicator,
.warning-indicator {
  font-size: 0.8rem;
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 4px;
}

.secure-indicator {
  background-color: rgba(46, 204, 113, 0.2);
}

.warning-indicator {
  background-color: rgba(231, 76, 60, 0.2);
}

.safety-notice {
  background-color: var(--accent);
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 25px;
}

.safety-notice p {
  margin-bottom: 8px;
}

.safety-notice p:last-child {
  margin-bottom: 0;
}

.safety-notice-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary);
}

.info-icon {
  margin-right: 8px;
  color: var(--primary);
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.proceed-btn,
.cancel-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.proceed-btn {
  background-color: var(--primary-100);
  color: var(--text-primary) !important;
}

.proceed-btn:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.cancel-btn {
  background-color: var(--accent);
  color: var(--text-primary);
}

.cancel-btn:hover {
  background-color: #3a3a3a;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Countdown and Progress Bar Styles */
.countdown-container {
  margin: 25px 0 15px;
}

.countdown-text {
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.countdown-text span {
  font-weight: 700;
  color: var(--primary);
}

.progress-container {
  width: 100%;
  height: 8px;
  background-color: var(--accent);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--primary);
  border-radius: 4px;
  transition: width 1s linear;
}

#submit-btn:disabled {
  background-color: var(--primary-50);
  cursor: not-allowed;
}

.cancel-redirect-btn {
  background-color: var(--accent);
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius);
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-redirect-btn:hover {
  background-color: #3a3a3a;
}

.cancel-redirect-btn.resume {
  background-color: var(--primary-50);
}

.cancel-redirect-btn.resume:hover {
  background-color: var(--primary);
}

/* Password Protection Styles */
.password-protection {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.password-protection h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.password-protection p {
  margin-bottom: 20px;
  text-align: center;
}

.password-form {
  width: 100%;
  max-width: 300px;
}

.password-error {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  padding: 10px;
  border-radius: var(--radius);
  margin-bottom: 15px;
  text-align: center;
}

.secure-indicator.password {
  background-color: rgba(46, 204, 113, 0.2);
}

@media (max-width: 600px) {
  .link-info .info-row {
    flex-direction: column;
  }

  .link-info .info-label {
    margin-bottom: 5px;
  }

  .action-buttons {
    flex-direction: column;
  }
}