<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>testers.ai Autonomous Test Case</title>
<style>
  body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #121212;
    color: #e0e0e0;
  }
  .container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 30px;
    display: flex;
    flex-direction: column;
  }
  .company-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
  }
  .company-logo {
    height: 40px;
    margin-right: 10px;
  }
  .company-name {
    font-size: 24px;
    font-weight: 500;
    color: #8ab4f8;
    letter-spacing: 0.5px;
  }
  .profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
  }
  .profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 30px;
    border: 3px solid #8ab4f8;
  }
  .test-case-name {
    font-size: 32px;
    font-weight: bold;
    color: #8ab4f8;
    margin-bottom: 10px;
  }
  .test-case-description {
    font-size: 20px;
    line-height: 1.5;
    color: #b0b0b0;
    margin-bottom: 25px;
  }
  .test-url-section {
    background-color: #2a2a2a;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 30px;
  }
  .test-url-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #8ab4f8;
    margin-bottom: 8px;
  }
  .test-url {
    display: block;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 18px;
    word-break: break-all;
    padding: 10px 15px;
    background-color: #1a1a1a;
    border-radius: 4px;
    border-left: 3px solid #8ab4f8;
    color: #e0e0e0;
  }
  .execution-notice {
    margin-top: 30px;
    padding: 15px 20px;
    background-color: rgba(138, 180, 248, 0.15);
    border-left: 4px solid #8ab4f8;
    border-radius: 4px;
    display: flex;
    align-items: center;
  }
  .execution-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #8ab4f8;
  }
  .execution-text {
    font-size: 22px;
    font-weight: 500;
    color: #e0e0e0;
  }
  .execution-status {
    color: #8ab4f8;
    font-weight: 600;
  }
  .fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-dark);
    z-index: 1000;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    height: 28px;
    padding: 0 0 20px 0;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.logo-section:hover {
    opacity: 0.8;
}
.checkie-logo, .Checkie-logo {
    height: 20px;
    width: auto;
}

.brand-name {
    font-size: 0.9em;
    font-weight: 500;
}

.hero-logo {
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
  }
  .brand-name {
    font-size: 0.9em;
    font-weight: 500;
}
</style>
</head>
<body>
  <div class="container">
    <div class="header-content">
      <a href="{{brand_url}}" target="_blank" class="logo-section">
          <img src="{{brand_icon}}" alt="{{brand_name}} Logo" class="hero-logo" style="max-height: 30px;">
          <span class="brand-name">{{brand_name}}</span>
      </a>
    </div>
    <div class="profile-section">
      <img id="profileImage" src="{{agent_image_url}}" alt="Profile Image" class="profile-image">
      <div>
        <h1 id="testCaseName" class="test-case-name">{{title}}</h1>
      </div>
    </div>
    <div class="test-case-description">
      <p id="testCaseDescription">{{test_case_description}}</p>
    </div>
    <div class="test-url-section">
      <span class="test-url-label">URL to be tested:</span>
      <code id="testUrl" class="test-url">{{test_case_url}}</code>
    </div>
    <div class="execution-notice">
      <span class="execution-icon">⚡</span>
      <span class="execution-text">AI is <span class="execution-status">about to start executing</span> this test case</span>
    </div>
  </div>
</body>
</html>
