@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  --color-primary: #e86d98;
  --color-text: #36363d;
  --color-bg: #ffffff;
  --color-input-bg: #f6f6f7;
  --color-input-border: #d6d6db;
  --color-white: #ffffff;

  --font-heading: "DM Serif Display", serif;
  --font-body: "DM Sans", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: #FFFFFF;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
}

/* Utilities */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.hidden {
  display: none;
}
.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}

/* Product Card / Login Layout */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.product-card {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
  max-width: 1240px;
  width: 100%;
}

.product-card-image {
  width: 50%;
  min-height: 670px;
  position: relative;
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
}

.product-card-image img.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-image .logo-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  z-index: 10;
}

.product-card-form {
  width: 50%;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 2px;
  padding-bottom: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 30px;
  color: #18181b;
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  width: 100%;
  max-width: 508px;
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: #36363d;
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  background: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  background: var(--color-primary);
  border-radius: 12px;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-facebook {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: 1px solid #d6d6db;
  border-radius: 12px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.btn-facebook:hover {
  background: #f9f9f9;
  border-color: var(--color-primary);
}

.link-secondary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
}

.link-secondary:hover {
  text-decoration: underline;
}

.info-box {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #d6d6db;
  border-radius: 4px;
  font-size: 14px;
  color: #36363d;
  line-height: 1.5;
  margin-top: 24px;
  max-width: 508px;
  width: 100%;
  box-sizing: border-box;
}

.info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  /* Placeholder for icon */
  border: 1px solid #36363d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: bold;
}

.text-danger {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 4px;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .product-card {
    flex-direction: column;
  }
  .product-card-image,
  .product-card-form {
    width: 100%;
  }
  .product-card-image {
    min-height: 300px;
  }
  .product-card-form {
    padding: 24px;
  }
}
