<!doctype html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Welcome to Team Tracker</title>
    <style>
      body {
        margin: 0;
        padding: 0;
        background: #f5f7fb;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: #1e293b;
      }

      .wrapper {
        width: 100%;
        padding: 28px 14px;
        box-sizing: border-box;
      }

      .card {
        max-width: 620px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #dbe5f2;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
      }

      .header {
        background: linear-gradient(145deg, #0f766e, #0ea5a4);
        color: #ffffff;
        text-align: center;
        padding: 30px 22px;
      }

      .header h1 {
        margin: 0;
        font-size: 24px;
        line-height: 1.25;
      }

      .header p {
        margin: 8px 0 0;
        font-size: 14px;
        opacity: 0.94;
      }

      .body {
        padding: 24px 22px 8px;
      }

      .title {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #0f172a;
      }

      .text {
        margin: 12px 0;
        font-size: 15px;
        line-height: 1.65;
        color: #334155;
      }

      .cred-box {
        background: #f8fafc;
        border: 1px solid #d9e3ee;
        border-radius: 12px;
        padding: 14px;
        margin: 20px 0;
      }

      .row {
        display: table;
        width: 100%;
        margin: 8px 0;
      }

      .label {
        display: table-cell;
        width: 105px;
        font-size: 13px;
        color: #64748b;
        vertical-align: top;
      }

      .value {
        display: table-cell;
        font-size: 15px;
        color: #0f172a;
        word-break: break-word;
        font-weight: 600;
      }

      .button-wrap {
        text-align: center;
        margin: 24px 0 18px;
      }

      .button {
        display: inline-block;
        background: #0f766e;
        color: #ffffff !important;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
      }

      .security {
        margin: 0;
        font-size: 13px;
        color: #64748b;
      }

      .footer {
        border-top: 1px solid #e2e8f0;
        margin-top: 20px;
        padding: 16px 22px 24px;
        text-align: center;
        font-size: 12px;
        color: #64748b;
      }

      @media screen and (max-width: 620px) {
        .header h1 {
          font-size: 21px;
        }

        .label {
          width: 92px;
        }
      }
    </style>
  </head>
  <body>
    <div class="wrapper">
      <div class="card">
        <div class="header">
          <h1>Your Account Has Been Created</h1>
          <p>Welcome to Team Tracker</p>
        </div>

        <div class="body">
          <p class="title">Hello, {{name}}</p>
          <p class="text">
            Your member account is ready. Use the credentials below to sign in.
          </p>

          <div class="cred-box">
            <div class="row">
              <span class="label">Email</span>
              <span class="value">{{email}}</span>
            </div>
            <div class="row">
              <span class="label">Password</span>
              <span class="value">{{password}}</span>
            </div>
          </div>

          <div class="button-wrap">
            <a class="button" href="{{loginUrl}}" target="_blank" rel="noopener noreferrer">Sign In Now</a>
          </div>

          <p class="security">
            For your security, please change this password after your first login.
          </p>
        </div>

        <div class="footer">
          If you did not expect this account, please contact your administrator.
        </div>
      </div>
    </div>
  </body>
</html>
