/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --color-background: #faf8f8;
  --color-surface: #ffffff;
  --color-border: #e4e4df;
  --color-text-primary: #1e211f;
  --color-text-secondary: #6b6f69;
  --color-accent: #1e6e6b;
  --color-accent-hover: #175a57;
  --color-accent-tint: #eaf4f3;
  --color-on-accent: #ffffff;
  --color-success: #3f8f5f;
  --color-error: #c0483d;
  --color-success-ring: rgba(63, 143, 95, 0.15);
  --color-error-ring: rgba(192, 72, 61, 0.15);
}

:root[data-theme=dark] {
  --color-background: #141614;
  --color-surface: #1e211f;
  --color-border: #33362f;
  --color-text-primary: #f2f0eb;
  --color-text-secondary: #9a9d94;
  --color-accent: #3aa39d;
  --color-accent-hover: #4cbdb5;
  --color-accent-tint: #1c3330;
  --color-on-accent: #07211f;
  --color-success: #5fb37f;
  --color-error: #e0705f;
  --color-success-ring: rgba(95, 179, 127, 0.15);
  --color-error-ring: rgba(224, 112, 95, 0.15);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-background);
}
@media (max-width: 1260px) {
  body {
    background-color: var(--color-surface);
  }
}

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot");
  src: url("../fonts/icomoon.eot#iefix") format("embedded-opentype"), url("../fonts/icomoon.ttf") format("truetype"), url("../fonts/icomoon.woff") format("woff"), url("../fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^=icon-],
[class*=" icon-"] {
  font-family: "icomoon" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-file-picture:before {
  content: "\e900";
}

.icon-loop:before {
  content: "\e902";
}

.icon-link:before {
  content: "\e901";
}

.icon-chevron-right:before {
  content: "\e903";
}

.icon-moon-fill:before {
  content: "\e904";
}

.icon-sun-fill:before {
  content: "\e905";
}

.icon-clear:before {
  content: "\e906";
}

.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  box-sizing: border-box;
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-tint);
  border-color: var(--color-accent);
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.btn--primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}
.btn--primary:hover:not(:disabled) {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}
.btn--secondary {
  background-color: var(--color-accent-tint);
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}
.btn--secondary:hover:not(:disabled) {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-on-accent);
}

.input {
  appearance: none;
  -webkit-appearance: none;
  font-family: "JetBrains Mono", sans-serif;
  font-size: 14px;
  line-height: 1;
  box-sizing: border-box;
  height: 40px;
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  padding: 0 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder {
  color: var(--color-text-secondary);
}
.input:hover:not(:disabled) {
  border-color: var(--color-text-secondary);
}
.input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-tint);
}
.input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.input--error {
  border-color: var(--color-error);
}
.input--error:focus {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px var(--color-error-ring);
}
.input--success {
  border-color: var(--color-success);
}
.input--success:focus {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-ring);
}

.lightbox {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding: 0;
  border: none;
  background-color: transparent;
  overflow: visible;
}
@media (max-width: 1260px) {
  .lightbox {
    max-width: min(100% - 4rem, 1200px - 4rem);
  }
}
@media (max-width: 576px) {
  .lightbox {
    max-width: calc(100% - 2.5rem);
  }
}
.lightbox::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}
.lightbox__close {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.lightbox__close:hover {
  background-color: var(--color-background);
}
.lightbox__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-tint);
}
.lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: var(--color-background);
  border-radius: 12px;
  transition: opacity 0.15s ease;
}
.lightbox__image--loading {
  opacity: 0;
}

.theme-toggle {
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 20px;
  color: var(--color-text-secondary);
  background-color: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.15s ease;
}
.theme-toggle:hover {
  color: var(--color-text-primary);
}

.container {
  max-width: 1200px;
  margin: 2.5rem auto 4rem;
  padding: 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
@media (max-width: 1260px) {
  .container {
    margin: 0 auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}
@media (max-width: 576px) {
  .container {
    padding: 1.25rem;
  }
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
}
@media (max-width: 576px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.header__logo {
  color: var(--color-accent);
}
.header__subtitle {
  color: var(--color-text-secondary);
}
@media (max-width: 576px) {
  .header__subtitle p {
    margin-top: 0;
  }
}

.image-generator {
  border-radius: 12px;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  margin-top: 20px;
  padding: 20px 20px 0 20px;
}
.image-generator__title {
  color: var(--color-text-secondary);
}
.image-generator__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text-secondary);
  font-size: 48px;
  margin-bottom: 20px;
  overflow: clip;
}
.image-generator .random-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.image-generator__new-image {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.image-generator__new-image .btn {
  flex: 1;
}
.image-generator__source {
  color: var(--color-text-secondary);
}
.image-generator__email-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.image-generator__email-subtitle {
  color: var(--color-text-secondary);
}
.image-generator__email-error {
  min-height: 1em;
  margin: 5px 0 5px;
  color: var(--color-error);
  font-size: 13px;
  line-height: 1;
}
.image-generator .email-input {
  flex: 1;
  min-width: 0;
}

.emails__text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.emails__title, .emails__subtitle {
  color: var(--color-text-secondary);
}
.emails__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.emails__item {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.emails__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.emails__summary::-webkit-details-marker {
  display: none;
}
.emails__address {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "JetBrains Mono", sans-serif;
  font-weight: 500;
  color: var(--color-text-primary);
}
.emails__count {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--color-text-secondary);
  font-size: 13px;
}
.emails__chevron {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--color-text-secondary);
  font-size: 16px;
  transition: transform 0.15s ease;
}
.emails__images {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 16px;
}
@media (max-width: 1260px) {
  .emails__images {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 576px) {
  .emails__images {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.emails__image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  cursor: pointer;
}
.emails__item[open] .emails__chevron {
  transform: rotate(90deg);
}

/*# sourceMappingURL=style.css.map */
