/* ========================================
   CERTIFICATE VERIFICATION PAGE - MODERN STYLES
   ======================================== */

/* Hero Section Modernization */
.certificate-hero {
  background: linear-gradient(135deg, #00156f 0%, #0033a0 50%, #0056b3 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.certificate-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.certificate-hero .container {
  position: relative;
  z-index: 2;
}

.certificate-hero h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.certificate-hero .breadcrumbs {
  color: rgba(255,255,255,0.9);
}

.certificate-hero .breadcrumbs a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.certificate-hero .breadcrumbs a:hover {
  color: white;
}

/* Main Content Section */
.certificate-main-content {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Company Info Card */
.company-info-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  height: 100%;
  position: sticky;
  top: 100px;
}

.company-info-card h3 {
  color: #00156f;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.company-info-card h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #00156f, #0033a0);
  border-radius: 2px;
}

.company-info-card .company-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 0.95rem;
  text-align: justify;
}

.company-info-card .info-item {
  padding: 15px 0;
  border-bottom: 1px solid #f1f3f4;
  transition: all 0.3s ease;
}

.company-info-card .info-item:last-child {
  border-bottom: none;
}

.company-info-card .info-item:hover {
  background: #f8f9fa;
  margin: 0 -20px;
  padding: 15px 20px;
  border-radius: 10px;
}

.company-info-card .info-item i {
  color: #00156f;
  font-size: 1.2rem;
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

.company-info-card .info-item h4 {
  color: #00156f;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.company-info-card .info-item p {
  color: #495057;
  margin: 0;
  font-size: 0.95rem;
}

/* Verification Form Card */
.verification-form-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  margin-bottom: 30px;
}

.verification-form-card h4 {
  color: #00156f;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.verification-form-card h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #00156f, #0033a0);
  border-radius: 2px;
}

.verification-form-card .form-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1rem;
}

.verification-form-card .steps-list {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 4px solid #00156f;
}

.verification-form-card .steps-list h5 {
  color: #00156f;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.verification-form-card .steps-list p {
  color: #495057;
  margin: 0;
  line-height: 1.6;
}

/* Modern Form Styling */
.modern-form-group {
  margin-bottom: 25px;
}

.modern-form-group label {
  color: #00156f;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 1rem;
}

.modern-form-group input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.modern-form-group input:focus {
  outline: none;
  border-color: #00156f;
  background: white;
  box-shadow: 0 0 0 3px rgba(0,21,111,0.1);
}

.modern-form-group .form-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 8px;
  line-height: 1.4;
}

/* Modern Button */
.modern-verify-btn {
  background: linear-gradient(135deg, #00156f, #0033a0);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,21,111,0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.modern-verify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,21,111,0.4);
  color: white;
}

.modern-verify-btn:active {
  transform: translateY(0);
}

.modern-verify-btn i {
  font-size: 1.2rem;
}

/* Results Card */
.results-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  margin-top: 30px;
}

.results-card h5 {
  color: #00156f;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.results-card h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #00156f, #0033a0);
  border-radius: 2px;
}

/* Modern Table Styling */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.modern-table th {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #00156f;
  font-weight: 600;
  padding: 15px 20px;
  text-align: left;
  border: none;
  font-size: 0.95rem;
  width: 30%;
}

.modern-table td {
  padding: 15px 20px;
  border: none;
  border-bottom: 1px solid #f1f3f4;
  color: #495057;
  font-size: 1rem;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.modern-table tr:hover {
  background: #f8f9fa;
}

/* Status Badge */
.status-badge {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

.status-badge.error {
  background: linear-gradient(135deg, #dc3545, #e74c3c);
}

/* Loading Animation */
.loading-spinner {
  display: none;
  text-align: center;
  padding: 20px;
}

.loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #00156f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner p {
  color: #6c757d;
  margin: 0;
  font-size: 1rem;
}

/* Error Message */
.error-message {
  background: linear-gradient(135deg, #fff5f5, #fed7d7);
  border: 1px solid #feb2b2;
  color: #c53030;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-top: 20px;
}

.error-message i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

/* Success Animation */
.success-animation {
  animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .certificate-hero h1 {
    font-size: 2.5rem;
  }
  
  .company-info-card,
  .verification-form-card,
  .results-card {
    padding: 30px 20px;
  }
  
  .modern-form-group input {
    font-size: 1rem;
    padding: 12px 15px;
  }
  
  .modern-verify-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .modern-table th,
  .modern-table td {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

/* Animation Classes */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


