/**
 * Scanner Form Styles
 * 
 * Styles for the cookie scanner form component
 * BEM methodology: scanner-form block
 * Mobile-first approach with min-width media queries
 */

/* ===== Scanner Form - Mobile First ===== */
.scanner-form__wrapper {
    margin-top: 24px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.scanner-form__form {
    margin-bottom: 30px;
}

.scanner-form__input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scanner-form__url-input {
    width: 100%;
    min-width: auto;
    padding: 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.scanner-form__url-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.scanner-form__submit-btn {
    border: none;
    border-radius: 8px;  
}



.scanner-form__submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.scanner-form__features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.scanner-form__feature {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 0.75rem;
}

.scanner-form__feature i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* ===== Tablet & Desktop ===== */
@media (min-width: 769px) {
    .scanner-form__wrapper {
        margin-top: 60px;
        padding: 30px;
    }
    
    .scanner-form__input-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .scanner-form__url-input {
        flex: 1;
        min-width: 250px;
        width: auto;
    }
    
    .scanner-form__submit-btn {
        width: auto;
        justify-content: flex-start;
    }
    
    .scanner-form__features {
        flex-direction: row;
        gap: 24px;
    }
    
    .scanner-form__feature {
        gap: 8px;
        font-size: 0.9rem;
    }
    
    .scanner-form__feature i {
        font-size: 1rem;
    }
}
