/* ============================================ */
/* DA CHECKER - NOTION STYLE */
/* ============================================ */

/* FORM CONTAINER */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #e9e9e7;
}

/* FORM GROUP */
#daForm .form-group {
    margin-bottom: 20px;
}

/* LABEL */
#daForm label {
    display: block;
    color: #37352f;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* INPUT - CLEAN & VISIBLE */
#daForm input,
#daForm input[type="text"],
input#domain {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0dfd7;
    background: white;
    color: #37352f;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 6px;
    display: block;
    margin: 0;
    box-sizing: border-box;
    height: auto;
    line-height: normal;
    transition: all 0.15s ease;
    font-family: inherit;
}

#daForm input::placeholder {
    color: #9b9a97;
}

#daForm input:focus {
    outline: none;
    border-color: #2383e2;
    box-shadow: 0 0 0 3px rgba(35, 131, 226, 0.1);
}

/* SMALL TEXT */
#daForm small {
    display: block;
    color: #787774;
    margin-top: 6px;
    font-size: 0.875rem;
}

/* BUTTON */
#checkBtn,
.btn-generate {
    width: 100%;
    padding: 14px 20px;
    background: #2383e2;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 10px;
    transition: all 0.15s ease;
}

#checkBtn:hover,
.btn-generate:hover {
    background: #1a6ec7;
}

#checkBtn:active,
.btn-generate:active {
    transform: scale(0.98);
}

/* LOADING */
.loading {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9e9e7;
}

.loading.hidden {
    display: none;
}

/* RESULTS */
#resultContainer,
.result-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    border: 1px solid #e9e9e7;
}

.result-container.hidden {
    display: none;
}

.result-header h2 {
    font-size: 1.5rem;
    color: #37352f;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.da-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.metric-card {
    background: #f7f6f3;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9e9e7;
    transition: all 0.15s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.metric-card p {
    font-size: 0.85rem;
    color: #787774;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    margin: 10px 0;
    color: #37352f;
}

.da-value { 
    color: #16a34a;
}

.pa-value { 
    color: #2383e2;
}

.spam-value { 
    color: #dc2626;
}

/* ACTION BUTTONS */
#newCheckBtn,
.btn-action {
    padding: 10px 20px;
    background: #f7f6f3;
    color: #37352f;
    border: 1px solid #e0dfd7;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 20px;
}

#newCheckBtn:hover,
.btn-action:hover {
    background: #ebeae8;
    border-color: #d3d1cb;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .da-results {
        grid-template-columns: 1fr;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 24px;
    }
}