/* =========================================================
   DIMAZOO — TOOLS STYLESHEET
   Section: Email Validator Light
   ========================================================= */

/* Single email check row */
.single-check {
    width: 70%;
    margin: 5rem 0;
}

.single-row {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.single-row input {
    flex: 1;
    padding: .5rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
}

.single-row button {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: .55rem .9rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.single-row button:hover {
    background: var(--primary-hover);
}

.upload-section {
    width: 70%;
}

/* File selection */
.file-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .75rem;
}

.file-label input {
    display: none;
}

.btn {
    background: var(--primary);
    color: var(--text-light);
    padding: .45rem .75rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.btn:hover {
    background: var(--primary-hover);
}

.file-name {
    color: var(--text-muted);
    font-size: .95rem;
}

/* Controls */
.controls {
    margin-top: .5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hint {
    color: var(--text-muted);
    font-size: .85rem;
}

/* Progress bar */
.progress {
    background: #e6eef0;
    border-radius: 6px;
    height: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress .bar {
    height: 100%;
    width: 0%;
    transition: width .4s ease;
    background: var(--primary);
}

/* Steps indicator */
.steps {
    margin-top: .5rem;
    color: var(--text-muted);
    min-height: 1.5rem;
}

.step {
    display: inline-block;
    padding: .25rem .5rem;
    background: rgba(11, 136, 135, 0.06);
    border-radius: 999px;
    font-size: .95rem;
}

/* Summary cards */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 1rem;
}

.card {
    background: var(--bg);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
}

.card strong {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.card span {
    color: var(--text-muted);
    font-size: .9rem;
}

/* Download links */
.btn-link {
    display: inline-block;
    margin-right: .5rem;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.btn-link:hover {
    color: var(--primary-hover);
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Invalid preview list */
#sampleInvalid.card h3 {
    margin-bottom: .5rem;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
    align-items: center;
}

.tag {
    padding: .25rem .5rem;
    border-radius: 6px;
    background: #efefef;
}

.tag.valid {
    background: #e6fffb;
    color: #064e4e;
}

.tag.invalid {
    background: #ffe9e9;
    color: #601a1a;
}

/* Responsive */
@media (max-width: 700px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
